org.jabber.jabberbeans
Class ConnectionEvent.EReason
java.lang.Object
|
+--org.jabber.jabberbeans.ConnectionEvent.EReason
- Enclosing class:
- ConnectionEvent
- public static final class ConnectionEvent.EReason
- extends java.lang.Object
Method Summary |
int |
getValue()
getValue returns the value of the enumeration. |
java.lang.String |
toString()
converts the value to a string for display. |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
NOT_SET
public static final int NOT_SET
CLIENT_INITIATED
public static final int CLIENT_INITIATED
SERVER_INITIATED
public static final int SERVER_INITIATED
IO_ERROR
public static final int IO_ERROR
value
private int value
ConnectionEvent.EReason
protected ConnectionEvent.EReason(int reason)
throws java.lang.IllegalArgumentException
getValue
public int getValue()
getValue
returns the value of the enumeration.
- Returns:
- an
int
value corresponding to the enumeration
toString
public java.lang.String toString()
- converts the value to a string for display.
- Overrides:
- toString in class java.lang.Object
- Returns:
- a
String
holding the enumeration type name