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
           
private  int value
           
 
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, registerNatives, wait, wait, wait
 

Field Detail

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