| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private static final byte | |
| private ByteBuffer | |
| private static final byte | |
| private static final byte | |
| private final InternalDataChannel | |
| private final IOEventHandlerFactory | |
| private static final int | |
| private static final int | |
| private static final byte | |
| private final IOReactorConfig | |
| private final IOSessionRequest | |
| private SocksProxyProtocolHandler. | |
| private static final byte | |
| private static final byte | |
| private static final byte |
| Access | Constructor and Description |
|---|---|
| pack-priv | SocksProxyProtocolHandler(final InternalDataChannel dataChannel, final IOSessionRequest sessionRequest, final IOEventHandlerFactory eventHandlerFactory, final IOReactorConfig reactorConfig)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | connected(final IOSession
the I/O session. session)Implements org. |
| private byte[] | |
| public void | disconnected(final IOSession
the I/O session. session)Implements org. |
| public void | exception(final IOSession
the I/O session. session, final Exception cause)Implements org. |
| private boolean | |
| public void | inputReady(final IOSession
the I/O session. session, final ByteBuffer src)Implements org. |
| public void | outputReady(final IOSession
the I/O session. session)Implements org. |
| private void | |
| private void | |
| public void | timeout(final IOSession
the I/O session. session, final Timeout the timeout. timeout)Implements org. |
| private boolean | |
| private boolean |
| ATYP_DOMAINNAME | back to summary |
|---|---|
| private static final byte ATYP_DOMAINNAME | |
| buffer | back to summary |
|---|---|
| private ByteBuffer buffer | |
| CLIENT_VERSION | back to summary |
|---|---|
| private static final byte CLIENT_VERSION | |
| COMMAND_CONNECT | back to summary |
|---|---|
| private static final byte COMMAND_CONNECT | |
| dataChannel | back to summary |
|---|---|
| private final InternalDataChannel dataChannel | |
| eventHandlerFactory | back to summary |
|---|---|
| private final IOEventHandlerFactory eventHandlerFactory | |
| MAX_COMMAND_CONNECT_LENGTH | back to summary |
|---|---|
| private static final int MAX_COMMAND_CONNECT_LENGTH | |
| MAX_DNS_NAME_LENGTH | back to summary |
|---|---|
| private static final int MAX_DNS_NAME_LENGTH | |
| NO_AUTHENTICATION_REQUIRED | back to summary |
|---|---|
| private static final byte NO_AUTHENTICATION_REQUIRED | |
| reactorConfig | back to summary |
|---|---|
| private final IOReactorConfig reactorConfig | |
| sessionRequest | back to summary |
|---|---|
| private final IOSessionRequest sessionRequest | |
| state | back to summary |
|---|---|
| private SocksProxyProtocolHandler. | |
| SUCCESS | back to summary |
|---|---|
| private static final byte SUCCESS | |
| USERNAME_PASSWORD | back to summary |
|---|---|
| private static final byte USERNAME_PASSWORD | |
| USERNAME_PASSWORD_VERSION | back to summary |
|---|---|
| private static final byte USERNAME_PASSWORD_VERSION | |
| SocksProxyProtocolHandler | back to summary |
|---|---|
| pack-priv SocksProxyProtocolHandler(final InternalDataChannel dataChannel, final IOSessionRequest sessionRequest, final IOEventHandlerFactory eventHandlerFactory, final IOReactorConfig reactorConfig) | |
| connected | back to summary |
|---|---|
| public void connected(final IOSession session) throws IOException Implements org. Doc from org. Triggered after the given session has been just created. | |
| cred | back to summary |
|---|---|
| private byte[] cred(final String cred) throws IOException | |
| disconnected | back to summary |
|---|---|
| public void disconnected(final IOSession session) Implements org. Doc from org. Triggered when the given session has been terminated. | |
| exception | back to summary |
|---|---|
| public void exception(final IOSession session, final Exception cause) Implements org. Doc from org. Triggered when the given session throws a exception. | |
| fillBuffer | back to summary |
|---|---|
| private boolean fillBuffer(final ByteChannel channel) throws IOException | |
| inputReady | back to summary |
|---|---|
| public void inputReady(final IOSession session, final ByteBuffer src) throws IOException Implements org. Doc from org. Triggered when the given session has input pending. | |
| outputReady | back to summary |
|---|---|
| public void outputReady(final IOSession session) throws IOException Implements org. Doc from org. Triggered when the given session is ready for output. | |
| prepareConnectCommand | back to summary |
|---|---|
| private void prepareConnectCommand() throws IOException | |
| setBufferLimit | back to summary |
|---|---|
| private void setBufferLimit(final int newLimit) | |
| timeout | back to summary |
|---|---|
| public void timeout(final IOSession session, final Timeout timeout) throws IOException Implements org. Doc from org. Triggered when the given session has timed out. | |
| writeAndPrepareRead | back to summary |
|---|---|
| private boolean writeAndPrepareRead(final ByteChannel channel, final int readSize) throws IOException | |
| writeBuffer | back to summary |
|---|---|
| private boolean writeBuffer(final ByteChannel channel) throws IOException | |
| Modifier and Type | Field and Description |
|---|---|
| public static final SocksProxyProtocolHandler. | |
| public static final SocksProxyProtocolHandler. | |
| public static final SocksProxyProtocolHandler. | |
| public static final SocksProxyProtocolHandler. | |
| public static final SocksProxyProtocolHandler. | |
| public static final SocksProxyProtocolHandler. | |
| public static final SocksProxyProtocolHandler. | |
| public static final SocksProxyProtocolHandler. | |
| public static final SocksProxyProtocolHandler. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SocksProxyProtocolHandler. | |
| public static SocksProxyProtocolHandler. |
| COMPLETE | back to summary |
|---|---|
| public static final SocksProxyProtocolHandler. | |
| RECEIVE_ADDRESS | back to summary |
|---|---|
| public static final SocksProxyProtocolHandler. | |
| RECEIVE_ADDRESS_TYPE | back to summary |
|---|---|
| public static final SocksProxyProtocolHandler. | |
| RECEIVE_AUTH | back to summary |
|---|---|
| public static final SocksProxyProtocolHandler. | |
| RECEIVE_AUTH_METHOD | back to summary |
|---|---|
| public static final SocksProxyProtocolHandler. | |
| RECEIVE_RESPONSE_CODE | back to summary |
|---|---|
| public static final SocksProxyProtocolHandler. | |
| SEND_AUTH | back to summary |
|---|---|
| public static final SocksProxyProtocolHandler. | |
| SEND_CONNECT | back to summary |
|---|---|
| public static final SocksProxyProtocolHandler. | |
| SEND_USERNAME_PASSWORD | back to summary |
|---|---|
| public static final SocksProxyProtocolHandler. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static SocksProxyProtocolHandler. | |
| values | back to summary |
|---|---|
| public static SocksProxyProtocolHandler. | |