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


Field Summary
static int CLIENT_INITIATED
           
static int IO_ERROR
           
static int NOT_SET
           
static int SERVER_INITIATED
           
 
Constructor Summary
protected ConnectionEvent.EReason(int reason)
           
 
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
 

Field Detail

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
Constructor Detail

ConnectionEvent.EReason

protected ConnectionEvent.EReason(int reason)
                           throws java.lang.IllegalArgumentException
Method Detail

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