public enum SessionEvent extends Enum<SessionEvent>
SessionEventHandler
) registered for a session. The session event
callback is registered when a session is created through
JCSMPFactory.createSession(JCSMPProperties, Context, SessionEventHandler)
.Enum Constant and Description |
---|
DOWN_ERROR
The session has failed.
|
INCOMPLETE_LARGE_MESSAGE_RECVD
Incomplete large message is received by the consumer due to not receiving all the segments in time
|
RECONNECTED
The session successfully reconnected.
|
RECONNECTING
The session is reconnecting.
|
SUBSCRIPTION_ERROR
The appliance rejected a subscription (add or remove).
|
UNKNOWN_TRANSACTED_SESSION_NAME
An attempt to re-establish a transacted session failed.
|
VIRTUAL_ROUTER_NAME_CHANGED
The appliance's Virtual Router Name changed during a reconnect operation.
|
Modifier and Type | Method and Description |
---|---|
static SessionEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionEvent SUBSCRIPTION_ERROR
public static final SessionEvent VIRTUAL_ROUTER_NAME_CHANGED
public static final SessionEvent INCOMPLETE_LARGE_MESSAGE_RECVD
public static final SessionEvent UNKNOWN_TRANSACTED_SESSION_NAME
public static final SessionEvent RECONNECTING
public static final SessionEvent RECONNECTED
public static final SessionEvent DOWN_ERROR
public static SessionEvent[] values()
for (SessionEvent c : SessionEvent.values()) System.out.println(c);
public static SessionEvent valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright 2004-2024 Solace Corporation. All rights reserved.