Package COM.activesw.api.client
Class BrokerClientInfo
java.lang.Object
COM.activesw.api.client.BrokerClientInfo
This class is a data structure used to describe client information.
-
Field Summary
FieldsModifier and TypeFieldDescriptionshort[]
The client's access label.boolean
Whether or not volatile events must be explicitly acknowledged.Client id of the admin client holding the queue lockThe client application name.The client's owner's authenticator name.boolean
Whether or not the client can share state.The client group.The client ID.The client's lifecycle.boolean
Client queue locked statusThe client's storage.boolean
Whether or not the forced reconnect feature set.long
The highest publish sequence number used by the client.Time when the lock was acquiredboolean
The client's priority_ordering.static final String
static final String
The redelivery count mode for client.int
Session id of the admin client holding the queue lockInformation about any currently connected sessions.The ordering mode applied to shared state client.int
The maximum number of shared state connections.The client's owner's user name. -
Constructor Summary
ConstructorsConstructorDescriptionCreate an empty client info.BrokerClientInfo
(String new_client_id, String new_client_group, String new_app_name, boolean new_can_share_state, String new_shared_event_ordering, int new_state_share_limit, long new_high_pub_seqn) Create an entry with values set. -
Method Summary
Modifier and TypeMethodDescriptionReturns a string with the client info in a form suitable for human viewing.toString()
Returns a string with the client info in a form suitable for human viewing.toString
(boolean show_transient_info) Returns a string with the client info in a form suitable for human viewing.toString
(int indent_level) Returns a string with the client info in a form suitable for human viewing.toString
(int indent_level, boolean show_transient_info) Returns a string with the client info in a form suitable for human viewing.
-
Field Details
-
REDELIVERY_COUNT_AUTOMATIC
- See Also:
-
REDELIVERY_COUNT_MANUAL
- See Also:
-
client_id
The client ID. -
client_group
The client group. -
app_name
The client application name. -
redelivery_count_mode
The redelivery count mode for client. Valid values are: null (if not configured), Automatic, Manual -
priority_ordering
public boolean priority_orderingThe client's priority_ordering. If unset, defaults to false. -
forced_reconnect
public boolean forced_reconnectWhether or not the forced reconnect feature set. -
ack_volatile
public boolean ack_volatileWhether or not volatile events must be explicitly acknowledged. -
client_storage
The client's storage. If unset, defaults to client group's setting. -
client_lifecycle
The client's lifecycle. If unset, defaults to client group's setting. -
high_pub_seqn
public long high_pub_seqnThe highest publish sequence number used by the client. -
user_name
The client's owner's user name. This will be null if the client was not created using an authenticated connection via SSL. -
authenticator_name
The client's owner's authenticator name. This will be null if the client was not created using an authenticated connection via SSL. -
access_label
public short[] access_labelThe client's access label. This will be null if the client was not created using an authenticated connection via SSL. -
client_queue_locked
public boolean client_queue_lockedClient queue locked status -
admin_id
Client id of the admin client holding the queue lock -
session_id
public int session_idSession id of the admin client holding the queue lock -
lock_created
Time when the lock was acquired -
sessions
Information about any currently connected sessions.
-
-
Constructor Details
-
BrokerClientInfo
public BrokerClientInfo()Create an empty client info. -
BrokerClientInfo
public BrokerClientInfo(String new_client_id, String new_client_group, String new_app_name, boolean new_can_share_state, String new_shared_event_ordering, int new_state_share_limit, long new_high_pub_seqn) Create an entry with values set.
-
-
Method Details
-
toString
Returns a string with the client info in a form suitable for human viewing. This string does not include session information. -
toString
Returns a string with the client info in a form suitable for human viewing. This string does not include session information. -
toString
Returns a string with the client info in a form suitable for human viewing. This string does not include session information. -
toString
Returns a string with the client info in a form suitable for human viewing. This string does not include session information. -
toCompleteString
Returns a string with the client info in a form suitable for human viewing. This string includes all the session information.
-