private static enum Socks5ClientConnector.ProtocolState extends java.lang.Enum<Socks5ClientConnector.ProtocolState>
Enum Constant and Description |
---|
AUTHENTICATING |
CONNECTED |
CONNECTING |
FAILED |
INIT |
NONE |
Modifier and Type | Method and Description |
---|---|
void |
handleMessage(Socks5ClientConnector connector,
org.apache.sshd.common.io.IoSession session,
org.apache.sshd.common.util.buffer.Buffer data) |
static Socks5ClientConnector.ProtocolState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Socks5ClientConnector.ProtocolState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Socks5ClientConnector.ProtocolState NONE
public static final Socks5ClientConnector.ProtocolState INIT
public static final Socks5ClientConnector.ProtocolState AUTHENTICATING
public static final Socks5ClientConnector.ProtocolState CONNECTING
public static final Socks5ClientConnector.ProtocolState CONNECTED
public static final Socks5ClientConnector.ProtocolState FAILED
public static Socks5ClientConnector.ProtocolState[] values()
for (Socks5ClientConnector.ProtocolState c : Socks5ClientConnector.ProtocolState.values()) System.out.println(c);
public static Socks5ClientConnector.ProtocolState 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 void handleMessage(Socks5ClientConnector connector, org.apache.sshd.common.io.IoSession session, org.apache.sshd.common.util.buffer.Buffer data) throws java.lang.Exception
java.lang.Exception