public enum DisconnectReason extends Enum<DisconnectReason>
Enum Constant and Description |
---|
BROKEN_CONNECTION |
CLOSED_BY_COUNTERPARTY |
GOT_SEQUENCE_TOO_LOW |
INIT_CONNECTION_PROBLEM |
INVALID_MESSAGE |
NO_ANSWER |
POSSIBLE_MISSED_RESET |
POSSIBLE_RR_LOOP |
REJECT |
THROTTLING |
USER_REQUEST |
Modifier and Type | Method and Description |
---|---|
static DisconnectReason |
getDefault() |
static DisconnectReason |
valueOf(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.
|
public static final DisconnectReason USER_REQUEST
public static final DisconnectReason INIT_CONNECTION_PROBLEM
public static final DisconnectReason INVALID_MESSAGE
public static final DisconnectReason POSSIBLE_RR_LOOP
public static final DisconnectReason GOT_SEQUENCE_TOO_LOW
public static final DisconnectReason NO_ANSWER
public static final DisconnectReason REJECT
public static final DisconnectReason BROKEN_CONNECTION
public static final DisconnectReason CLOSED_BY_COUNTERPARTY
public static final DisconnectReason POSSIBLE_MISSED_RESET
public static final DisconnectReason THROTTLING
public static DisconnectReason[] values()
for (DisconnectReason c : DisconnectReason.values()) System.out.println(c);
public static DisconnectReason 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 nullpublic static DisconnectReason getDefault()
Copyright © 2000–2022 EPAM Systems. All rights reserved.