public static enum Connection.Event.Type extends Enum<Connection.Event.Type>
Enum Constant and Description |
---|
CONNECTED
Raised when Connector has established connectivity to the remote server
|
CONNECTING
Raised when Connector is about to initiate the connect protocol
|
DISCONNECTED
Raised when Connector has disconnected from the remote server
|
DISCONNECTING
Raised when Connector is about to initiate the disconnect protocol
|
FAULTED
Raised when the Connector encounters a
ClientRuntimeException or ProviderException . |
SHUTDOWN
Raised when Connector is terminated.
|
Modifier and Type | Method and Description |
---|---|
static Connection.Event.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Connection.Event.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Connection.Event.Type CONNECTING
public static final Connection.Event.Type CONNECTED
public static final Connection.Event.Type DISCONNECTING
public static final Connection.Event.Type DISCONNECTED
public static final Connection.Event.Type FAULTED
ClientRuntimeException
or ProviderException
.public static final Connection.Event.Type SHUTDOWN
public static Connection.Event.Type[] values()
for (Connection.Event.Type c : Connection.Event.Type.values()) System.out.println(c);
public static Connection.Event.Type 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 © 2009–2019. All rights reserved.