nu.najt.kecon.jsocksproxy.socks5
Class SocksImplementation5

java.lang.Object
  extended by nu.najt.kecon.jsocksproxy.AbstractSocksImplementation
      extended by nu.najt.kecon.jsocksproxy.socks5.SocksImplementation5
All Implemented Interfaces:
SocksImplementation

public class SocksImplementation5
extends AbstractSocksImplementation

This is the SOCKS5 implementation.

More about the SOCKS protocol http://en.wikipedia.org/wiki/SOCKS

Author:
Kenny Colliander Nordin

Field Summary
 
Fields inherited from class nu.najt.kecon.jsocksproxy.AbstractSocksImplementation
logger
 
Constructor Summary
SocksImplementation5(JSocksProxy jSocksProxy, java.net.Socket socket)
          Constructor
 
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 nu.najt.kecon.jsocksproxy.AbstractSocksImplementation
getSocket, getStatus, openConnection, setStatus, tunnel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocksImplementation5

public SocksImplementation5(JSocksProxy jSocksProxy,
                            java.net.Socket socket)
Constructor

Parameters:
jSocksProxy - the parent instance
socket - the socket
Method Detail

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.