com.inspirel.yami
Enum ConnectionEventCallback.ConnectionEvent
java.lang.Object
java.lang.Enum<ConnectionEventCallback.ConnectionEvent>
com.inspirel.yami.ConnectionEventCallback.ConnectionEvent
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ConnectionEventCallback.ConnectionEvent>
- Enclosing interface:
- ConnectionEventCallback
public static enum ConnectionEventCallback.ConnectionEvent
- extends java.lang.Enum<ConnectionEventCallback.ConnectionEvent>
Type of connection event.
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
NEW_INCOMING_CONNECTION
public static final ConnectionEventCallback.ConnectionEvent NEW_INCOMING_CONNECTION
NEW_OUTGOING_CONNECTION
public static final ConnectionEventCallback.ConnectionEvent NEW_OUTGOING_CONNECTION
CONNECTION_CLOSED
public static final ConnectionEventCallback.ConnectionEvent CONNECTION_CLOSED
values
public static ConnectionEventCallback.ConnectionEvent[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ConnectionEventCallback.ConnectionEvent c : ConnectionEventCallback.ConnectionEvent.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ConnectionEventCallback.ConnectionEvent valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null