public enum TcpConnectionStopReason extends Enum<TcpConnectionStopReason>
Enum Constant and Description |
---|
ClosedByCounterparty
The connection was closed by the counterparty.
|
GeneralError
The connection was stopped due to a general error.
|
IOError
The connection was stopped due to an I/O error.
|
StopRequested
The connection was stopped because a stop request was requested.
|
Modifier and Type | Method and Description |
---|---|
static TcpConnectionStopReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TcpConnectionStopReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TcpConnectionStopReason StopRequested
public static final TcpConnectionStopReason ClosedByCounterparty
public static final TcpConnectionStopReason IOError
public static final TcpConnectionStopReason GeneralError
public static TcpConnectionStopReason[] values()
for (TcpConnectionStopReason c : TcpConnectionStopReason.values()) System.out.println(c);
public static TcpConnectionStopReason 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 © 2005–2024 Onix Solutions. All rights reserved.