Enum Socks5ClientConnector.ProtocolState
java.lang.Object
java.lang.Enum<Socks5ClientConnector.ProtocolState>
org.eclipse.jgit.internal.transport.sshd.proxy.Socks5ClientConnector.ProtocolState
- All Implemented Interfaces:
Serializable
,Comparable<Socks5ClientConnector.ProtocolState>
- Enclosing class:
Socks5ClientConnector
private static enum Socks5ClientConnector.ProtocolState
extends Enum<Socks5ClientConnector.ProtocolState>
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleMessage
(Socks5ClientConnector connector, org.apache.sshd.common.io.IoSession session, org.apache.sshd.common.util.buffer.Buffer data) 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.
-
Enum Constant Details
-
NONE
-
INIT
-
AUTHENTICATING
-
CONNECTING
-
CONNECTED
-
FAILED
-
-
Constructor Details
-
ProtocolState
private ProtocolState()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
handleMessage
public void handleMessage(Socks5ClientConnector connector, org.apache.sshd.common.io.IoSession session, org.apache.sshd.common.util.buffer.Buffer data) throws Exception - Throws:
Exception
-