Package COM.activesw.api.client
Class BrokerTraceEvent
java.lang.Object
COM.activesw.api.client.BrokerTraceEvent
This class is a data structure used to describe trace event.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe activation value from the event's envelope.The application name for the client on CLIENT_CREATE and CLIENT_DESTROY operations.The hostname of the broker as set in 'broker_name'.The name of the broker being added or removed from the territory on BROKER_ADDED and BROKER_REMOVED operations.The businessContext value from the event's envelope.The client group name for the client on CLIENT_CREATE and CLIENT_DESTROY operations.The client ID being created or destroyed for CLIENT_CREATE, CLIENT_DESTROY, CLIENT_CONNECT, and CLIENT_DISCONNECT operations.The client ID to which the event is being delivered for EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations where the event was delivered rather than published by the sending client.int
Tells the encryption level of the client's connection.long
The 64-bit identifier for the event.The event type name for EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations.int
boolean
Tells if the tag value is set.boolean
Tells if the tag value is set.long
The ip address of the client's host for CLIENT_CONNECT and CLIENT_DISCONNECT traces.boolean
Tells the client is authenticated with the broker.int
byte[]
The is_WireTags value from the event's envelope.int
The trace key.The client ID that is holding a queue lock for CLIENT_LOCK, CLIENT_UNLOCK operartions.The raw trace string.The client ID for the receiving client for EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations.int
To be used to set Adapter leveling in the new ARTint
The trace sequence number.int
The number of open sessions for CLIENT_CONNECT and CLIENT_DISCONNECT traces.int
The client session ID for CLIENT_CONNEDCT and CLIENT_DISCONNECT traces.int
The tag value from the event's envelope.static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
The tracking identifier from the event's envelope.The is_WireTags value from the event's envelope. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TRACE_CLIENT_CREATE
public static final int TRACE_CLIENT_CREATE- See Also:
-
TRACE_CLIENT_DESTROY
public static final int TRACE_CLIENT_DESTROY- See Also:
-
TRACE_CLIENT_CONNECT
public static final int TRACE_CLIENT_CONNECT- See Also:
-
TRACE_CLIENT_DISCONNECT
public static final int TRACE_CLIENT_DISCONNECT- See Also:
-
TRACE_CLIENT_LOCK
public static final int TRACE_CLIENT_LOCK- See Also:
-
TRACE_CLIENT_UNLOCK
public static final int TRACE_CLIENT_UNLOCK- See Also:
-
TRACE_BROKER_ADDED
public static final int TRACE_BROKER_ADDED- See Also:
-
TRACE_BROKER_REMOVED
public static final int TRACE_BROKER_REMOVED- See Also:
-
TRACE_EVENT_PUBLISH
public static final int TRACE_EVENT_PUBLISH- See Also:
-
TRACE_EVENT_ENQUEUE
public static final int TRACE_EVENT_ENQUEUE- See Also:
-
TRACE_EVENT_RECEIVE
public static final int TRACE_EVENT_RECEIVE- See Also:
-
TRACE_EVENT_DROP
public static final int TRACE_EVENT_DROP- See Also:
-
TRACE_EVENT_INSERT
public static final int TRACE_EVENT_INSERT- See Also:
-
TRACE_EVENT_DELETE
public static final int TRACE_EVENT_DELETE- See Also:
-
TRACE_EVENT_PEEK
public static final int TRACE_EVENT_PEEK- See Also:
-
TRACE_OTHER
public static final int TRACE_OTHER- See Also:
-
seqn
public int seqnThe trace sequence number. -
key
public int keyThe trace key. This tells which of the other values will be set. -
client_id
The client ID being created or destroyed for CLIENT_CREATE, CLIENT_DESTROY, CLIENT_CONNECT, and CLIENT_DISCONNECT operations. The client ID of the publisher of an event on EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. Value is null for other operations. -
locking_id
The client ID that is holding a queue lock for CLIENT_LOCK, CLIENT_UNLOCK operartions. Value is null for other operations. -
recv_client_id
The client ID for the receiving client for EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. This field is null if the event was for another broker instead of a client. Value is null for other operations. -
ip_address
public long ip_addressThe ip address of the client's host for CLIENT_CONNECT and CLIENT_DISCONNECT traces. This field is zero for all other traces. -
session_id
public int session_idThe client session ID for CLIENT_CONNEDCT and CLIENT_DISCONNECT traces. This is the receiving client session ID for EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. This field is zero if the client is not a shared state client. -
session_count
public int session_countThe number of open sessions for CLIENT_CONNECT and CLIENT_DISCONNECT traces. This field is -1 if the client is not a shared state client. -
dest_client_id
The client ID to which the event is being delivered for EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations where the event was delivered rather than published by the sending client. Value is null for other operations or if the event was not delivered. -
broker_name
The name of the broker being added or removed from the territory on BROKER_ADDED and BROKER_REMOVED operations. The name of the broker where the event was forwarded from on EVENT_PUBLISH operations, null if from the local broker. The name of the broker that the event was queued for, received by, or dropped for EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations that are for another broker. null on these opererations if the event is related to a client.. Value is null for other operations. -
broker_host
The hostname of the broker as set in 'broker_name'. See that field for details on when it is set. This field is the same.- See Also:
-
app_name
The application name for the client on CLIENT_CREATE and CLIENT_DESTROY operations. Value is null for other operations. -
client_group
The client group name for the client on CLIENT_CREATE and CLIENT_DESTROY operations. Value is null for other operations. -
encrypt_level
public int encrypt_levelTells the encryption level of the client's connection. Value is one of the BrokerConnectionDescriptor.ENCRYPT_LEVEL_* values. This value is null for traces other than CLIENT_CONNECT and CLIENT_DISCONNECT. -
is_authenticated
public boolean is_authenticatedTells the client is authenticated with the broker. This is true only if the client uses SSL to connect. This value is always ENCRYPT_LEVEL_NO_ENCRYPTION for traces other than CLIENT_CONNECT and CLIENT_DISCONNECT. -
event_type_name
The event type name for EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. Value is null for other operations. -
has_tag
public boolean has_tagTells if the tag value is set. The tag may be set for EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. It is never set for other operations. -
tag
public int tagThe tag value from the event's envelope. Valid only if 'has_tag' is true. -
track_id
The tracking identifier from the event's envelope. The track ID may be set for EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. It is never set for other operations. -
activation
The activation value from the event's envelope. It may be set for EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. It is never set for other operations. -
businessContext
The businessContext value from the event's envelope. It may be set for EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. It is never set for other operations. -
is_WireTags
public byte[] is_WireTagsThe is_WireTags value from the event's envelope. It may be set for EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. It is never set for other operations. Used only by integration server. -
is_WireFormatVersion
public int is_WireFormatVersion -
locale
-
uuid
The is_WireTags value from the event's envelope. It may be set for EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. It is never set for other operations. Used only by integration server. -
event_id
public long event_idThe 64-bit identifier for the event. The identifier will always be set for EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. It is never set (set to zero) for other operations. -
other_string
The raw trace string. This is only set for the OTHER operation, which only occurs if an unsupported trace is received. Value is null for other operations. -
flags
public int flags -
log_host
-
log_broker
-
has_run_level
public boolean has_run_levelTells if the tag value is set. The tag may be set for EVENT_PUBLISH, EVENT_ENQUEUE, EVENT_RECEIVE, and EVENT_DROP operations. It is never set for other operations. -
runLevel
public int runLevelTo be used to set Adapter leveling in the new ART
-
-
Constructor Details
-
BrokerTraceEvent
public BrokerTraceEvent()Create an empty entry
-
-
Method Details