public class DisconnectCause extends java.lang.Object implements java.io.Serializable, Enumerated
Modifier and Type | Field and Description |
---|---|
static int |
_BUSY |
static int |
_DO_NOT_WANT_TO_TALK_TO_YOU |
static int |
_REBOOTING |
static DisconnectCause |
BUSY
The peer's internal resources are constrained, and it has determined that the transport connection needs to be closed.
|
static DisconnectCause |
DO_NOT_WANT_TO_TALK_TO_YOU
The peer has determined that it does not see a need for the transport connection to exist, since it does not expect any messages to be exchanged in the near future.
|
static DisconnectCause |
REBOOTING
A scheduled reboot is imminent.
|
Modifier and Type | Method and Description |
---|---|
static DisconnectCause |
fromInt(int type) |
int |
getValue()
Return the value of this instance of this enumerated type.
|
java.lang.String |
toString() |
public static final int _REBOOTING
public static final int _BUSY
public static final int _DO_NOT_WANT_TO_TALK_TO_YOU
public static final DisconnectCause REBOOTING
public static final DisconnectCause BUSY
public static final DisconnectCause DO_NOT_WANT_TO_TALK_TO_YOU
public static DisconnectCause fromInt(int type)
public int getValue()
Enumerated
getValue
in interface Enumerated
public java.lang.String toString()
toString
in class java.lang.Object