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, wait, wait, wait |
NOT_SET
public static final int NOT_SET
- See Also:
- Constant Field Values
CLIENT_INITIATED
public static final int CLIENT_INITIATED
- See Also:
- Constant Field Values
SERVER_INITIATED
public static final int SERVER_INITIATED
- See Also:
- Constant Field Values
IO_ERROR
public static final int IO_ERROR
- See Also:
- Constant Field Values
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