nu.najt.kecon.jsocksproxy.socks4
Class SocksImplementation4
java.lang.Object
nu.najt.kecon.jsocksproxy.AbstractSocksImplementation
nu.najt.kecon.jsocksproxy.socks4.SocksImplementation4
- All Implemented Interfaces:
- SocksImplementation
public class SocksImplementation4
- extends AbstractSocksImplementation
This is the SOCKS4 implementation.
More about the SOCKS protocol http://en.wikipedia.org/wiki/SOCKS
- Author:
- Kenny Colliander Nordin
|
Method Summary |
void |
handle()
This method is the method which handle the handshake (except for the
first version check) and tunneling. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMMAND_CONNECT
protected static final byte COMMAND_CONNECT
- See Also:
- Constant Field Values
COMMAND_BIND
protected static final byte COMMAND_BIND
- See Also:
- Constant Field Values
REQUEST_GRANTED
protected static final byte REQUEST_GRANTED
- See Also:
- Constant Field Values
REQUEST_REJECTED
protected static final byte REQUEST_REJECTED
- See Also:
- Constant Field Values
AUTHORIZATION_FAILED
protected static final byte AUTHORIZATION_FAILED
- See Also:
- Constant Field Values
SocksImplementation4
public SocksImplementation4(JSocksProxy jSocksProxy,
java.net.Socket socket)
- Constructor
- Parameters:
jSocksProxy - the parent instancesocket - the socket
handle
public void handle()
- Description copied from interface:
SocksImplementation
- This method is the method which handle the handshake (except for the
first version check) and tunneling.