public enum EOS_EConnectionClosedReason extends java.lang.Enum<EOS_EConnectionClosedReason> implements com.sun.jna.NativeMapped
| Enum Constant and Description |
|---|
EOS_CCR_ClosedByLocalUser
The connection was at least locally accepted, but was closed by the local user via a call to EOS_P2P_CloseConnection / EOS_P2P_CloseConnections.
|
EOS_CCR_ClosedByPeer
The connection was at least locally accepted, but was gracefully closed by the remote user via a call to EOS_P2P_CloseConnection / EOS_P2P_CloseConnections.
|
EOS_CCR_ConnectionClosed
The connection was accepted and established, but the peer silently went away.
|
EOS_CCR_ConnectionFailed
The connection was accepted, but we failed to ever establish a connection with the remote user due to connectivity issues.
|
EOS_CCR_ConnectionIgnored
The connection was ignored because no connection listeners were bound.
|
EOS_CCR_InvalidData
The connection was accepted, but the remote user sent us invalid data
|
EOS_CCR_InvalidMessage
The connection was accepted, The remote user sent an invalid message
|
EOS_CCR_NegotiationFailed
The connection was locally accepted, but we failed to negotiate a connection with the remote user.
|
EOS_CCR_TimedOut
The connection was at least locally accepted, but was not remotely accepted in time.
|
EOS_CCR_TooManyConnections
The connection was accepted, but the connection could not be created due to too many other existing connections
|
EOS_CCR_UnexpectedError
The connection was accepted, but there was an internal error occurred and the connection cannot be created or continue.
|
EOS_CCR_Unknown
The connection was closed for unknown reasons.
|
| Modifier and Type | Method and Description |
|---|---|
static EOS_EConnectionClosedReason |
fromId(java.lang.Integer id) |
java.lang.Object |
fromNative(java.lang.Object nativeValue,
com.sun.jna.FromNativeContext context) |
java.lang.Class<?> |
nativeType() |
java.lang.Object |
toNative() |
static EOS_EConnectionClosedReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EOS_EConnectionClosedReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EOS_EConnectionClosedReason EOS_CCR_Unknown
public static final EOS_EConnectionClosedReason EOS_CCR_ClosedByLocalUser
public static final EOS_EConnectionClosedReason EOS_CCR_ClosedByPeer
public static final EOS_EConnectionClosedReason EOS_CCR_TimedOut
public static final EOS_EConnectionClosedReason EOS_CCR_TooManyConnections
public static final EOS_EConnectionClosedReason EOS_CCR_InvalidMessage
public static final EOS_EConnectionClosedReason EOS_CCR_InvalidData
public static final EOS_EConnectionClosedReason EOS_CCR_ConnectionFailed
public static final EOS_EConnectionClosedReason EOS_CCR_ConnectionClosed
public static final EOS_EConnectionClosedReason EOS_CCR_NegotiationFailed
public static final EOS_EConnectionClosedReason EOS_CCR_UnexpectedError
public static final EOS_EConnectionClosedReason EOS_CCR_ConnectionIgnored
public static EOS_EConnectionClosedReason[] values()
for (EOS_EConnectionClosedReason c : EOS_EConnectionClosedReason.values()) System.out.println(c);
public static EOS_EConnectionClosedReason 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 namejava.lang.NullPointerException - if the argument is nullpublic static EOS_EConnectionClosedReason fromId(java.lang.Integer id)
public java.lang.Object fromNative(java.lang.Object nativeValue,
com.sun.jna.FromNativeContext context)
fromNative in interface com.sun.jna.NativeMappedpublic java.lang.Object toNative()
toNative in interface com.sun.jna.NativeMappedpublic java.lang.Class<?> nativeType()
nativeType in interface com.sun.jna.NativeMapped