Package COM.activesw.api.client
Class BrokerClientSession
java.lang.Object
COM.activesw.api.client.BrokerClientSession
This class is a data structure used to describe client sessions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Authentication info (if auth_protocol is "BasicAuth" or "SSL").The authentication protocol for the session.The authentication protocol version for the session (if auth_protocol is set).The connect time for the socket between the client application and the broker.int
The connection ID.The client session create time.int
The encryption level for the session (if encrypt_protocol is set).The encryption protocol for the session.The encryption protocol version for the session (if encrypt_protocol is set).int
This is for backward compatibility.The client IP Address string.The client last activity time.The platform information.int
The client port.int
The session ID.The SSL certificate (if auth_protocol is "SSL"). -
Constructor Summary
ConstructorsConstructorDescriptionCreate an empty client session info.BrokerClientSession
(int new_session_id, int new_connection_id, int new_ip_address, int new_port, String new_encrypt_protocol, String new_encrypt_version, int new_encrypt_level, String new_auth_protocol, String new_auth_version, BrokerSSLCertificate new_ssl_certificate, BrokerDate new_connect_time, BrokerDate new_create_time, BrokerDate new_last_activity_time) Create an entry with values set.BrokerClientSession
(int new_session_id, int new_connection_id, int new_ip_address, int new_port, String new_encrypt_protocol, String new_encrypt_version, int new_encrypt_level, String new_auth_protocol, String new_auth_version, BrokerSSLCertificate new_ssl_certificate, BrokerDate new_connect_time, BrokerDate new_create_time, BrokerDate new_last_activity_time, String new_ip_address_string) Create an entry with values set including IP Address as Strings. -
Method Summary
-
Field Details
-
session_id
public int session_idThe session ID. -
connection_id
public int connection_idThe connection ID. -
ip_address
public int ip_addressThis is for backward compatibility. Going forward use ip_address_str The client IP address. -
ip_address_str
The client IP Address string. -
port
public int portThe client port. -
encrypt_protocol
The encryption protocol for the session. -
encrypt_version
The encryption protocol version for the session (if encrypt_protocol is set). -
encrypt_level
public int encrypt_levelThe encryption level for the session (if encrypt_protocol is set). See BrokerConnectionDescriptor.ENCRYPT_LEVEL_* for values. -
auth_protocol
The authentication protocol for the session. -
auth_version
The authentication protocol version for the session (if auth_protocol is set). -
ssl_certificate
The SSL certificate (if auth_protocol is "SSL"). -
auth_info
The Authentication info (if auth_protocol is "BasicAuth" or "SSL"). -
connect_time
The connect time for the socket between the client application and the broker. This may differ from the create_time if the socket is shared with other clients in the application. -
create_time
The client session create time. -
last_activity_time
The client last activity time. -
platform_info
The platform information.
-
-
Constructor Details
-
BrokerClientSession
public BrokerClientSession()Create an empty client session info. -
BrokerClientSession
public BrokerClientSession(int new_session_id, int new_connection_id, int new_ip_address, int new_port, String new_encrypt_protocol, String new_encrypt_version, int new_encrypt_level, String new_auth_protocol, String new_auth_version, BrokerSSLCertificate new_ssl_certificate, BrokerDate new_connect_time, BrokerDate new_create_time, BrokerDate new_last_activity_time) Create an entry with values set. -
BrokerClientSession
public BrokerClientSession(int new_session_id, int new_connection_id, int new_ip_address, int new_port, String new_encrypt_protocol, String new_encrypt_version, int new_encrypt_level, String new_auth_protocol, String new_auth_version, BrokerSSLCertificate new_ssl_certificate, BrokerDate new_connect_time, BrokerDate new_create_time, BrokerDate new_last_activity_time, String new_ip_address_string) Create an entry with values set including IP Address as Strings.
-
-
Method Details