|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DisconnectReason>
com.unboundid.directory.sdk.common.types.DisconnectReason
public enum DisconnectReason
This enumeration defines the set of possible reasons for the closure of a connection between a client and the server.
Enum Constant Summary | |
---|---|
ADMIN_DISCONNECT
The disconnect reason that indicates that the client connection was closed because an administrator terminated the connection. |
|
ADMIN_LIMIT_EXCEEDED
The disconnect reason that indicates that the client connection was closed because an administrative limit was exceeded. |
|
CLIENT_DISCONNECT
The disconnect reason that indicates that the client connection was closed because the client disconnected without unbinding. |
|
CLOSED_BY_PLUGIN
The disconnect reason that indicates that the client connection was closed by a plugin. |
|
CONNECTION_REJECTED
The disconnect reason that indicates that the client connection was closed because the client connection was rejected. |
|
IDLE_TIME_LIMIT_EXCEEDED
The disconnect reason that indicates that the client connection was closed because the idle time limit was exceeded. |
|
IO_ERROR
The disconnect reason that indicates that the client connection was closed because of an I/O error. |
|
IO_TIMEOUT
The disconnect reason that indicates that the client connection was closed because of an I/O timeout. |
|
MAX_REQUEST_SIZE_EXCEEDED
The disconnect reason that indicates that the client connection was closed because the maximum allowed request size was exceeded. |
|
OTHER
The disconnect reason that indicates that the client connection was closed for some other reason. |
|
PROTOCOL_ERROR
The disconnect reason that indicates that the client connection was closed because of a protocol error. |
|
SECURITY_PROBLEM
The disconnect reason that indicates that the client connection was closed because of a security problem. |
|
SERVER_ERROR
The disconnect reason that indicates that the client connection was closed because of an internal error within the server. |
|
SERVER_SHUTDOWN
The disconnect reason that indicates that the client connection was closed because the Directory Server shut down. |
|
UNBIND
The disconnect reason that indicates that the client connection was closed because the client unbind from the server. |
Method Summary | |
---|---|
java.lang.String |
getClosureMessage()
Retrieves the human-readable disconnect reason. |
java.lang.String |
toString()
Retrieves a string representation of this disconnect reason. |
static DisconnectReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DisconnectReason[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DisconnectReason UNBIND
public static final DisconnectReason CLIENT_DISCONNECT
public static final DisconnectReason CONNECTION_REJECTED
public static final DisconnectReason IO_ERROR
public static final DisconnectReason PROTOCOL_ERROR
public static final DisconnectReason SERVER_SHUTDOWN
public static final DisconnectReason ADMIN_DISCONNECT
public static final DisconnectReason SECURITY_PROBLEM
public static final DisconnectReason MAX_REQUEST_SIZE_EXCEEDED
public static final DisconnectReason ADMIN_LIMIT_EXCEEDED
public static final DisconnectReason IDLE_TIME_LIMIT_EXCEEDED
public static final DisconnectReason IO_TIMEOUT
public static final DisconnectReason SERVER_ERROR
public static final DisconnectReason CLOSED_BY_PLUGIN
public static final DisconnectReason OTHER
Method Detail |
---|
public static DisconnectReason[] values()
for (DisconnectReason c : DisconnectReason.values()) System.out.println(c);
public static DisconnectReason valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getClosureMessage()
public java.lang.String toString()
toString
in class java.lang.Enum<DisconnectReason>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |