public static enum Common.DisconnectCause extends Enum<Common.DisconnectCause>
| Enum Constant and Description |
|---|
BUSY
1 The peer's internal resources are constrained, and it has
determined that the transport connection needs to be closed.
|
DO_NOT_WANT_TO_TALK_TO_YOU
2 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.
|
REBOOTING
0 A scheduled reboot is imminent.
|
| Modifier and Type | Method and Description |
|---|---|
static Common.DisconnectCause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Common.DisconnectCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Common.DisconnectCause REBOOTING
public static final Common.DisconnectCause BUSY
public static final Common.DisconnectCause DO_NOT_WANT_TO_TALK_TO_YOU
public static Common.DisconnectCause[] values()
for (Common.DisconnectCause c : Common.DisconnectCause.values()) System.out.println(c);
public static Common.DisconnectCause valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2014. All Rights Reserved.