public static enum ConnectionEvent.Kind extends Enum<ConnectionEvent.Kind>
Enum Constant and Description |
---|
CLOSE
The client connection to the AMQP broker has been closed
|
CONNECTING
The client is attempting to connect to the AMQP broker
|
ERROR
The client has encountered an error with the connection.
|
OPEN
The client connection to the AMQP broker has been opened
|
Modifier and Type | Method and Description |
---|---|
static ConnectionEvent.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionEvent.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionEvent.Kind CONNECTING
public static final ConnectionEvent.Kind OPEN
public static final ConnectionEvent.Kind CLOSE
public static final ConnectionEvent.Kind ERROR
public static ConnectionEvent.Kind[] values()
for (ConnectionEvent.Kind c : ConnectionEvent.Kind.values()) System.out.println(c);
public static ConnectionEvent.Kind 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 © 2014. All Rights Reserved.