com.partnersoft.net
Class TcpProxyDaemon

java.lang.Object
  extended by com.partnersoft.net.TcpSocketChannelDaemon
      extended by com.partnersoft.net.TcpProxyDaemon
All Implemented Interfaces:
Daemon

public class TcpProxyDaemon
extends TcpSocketChannelDaemon


Constructor Summary
TcpProxyDaemon(int localPort, java.lang.String remoteHost, int remotePort, int timeout)
           
 
Method Summary
protected  void handleConnection(java.nio.channels.SocketChannel socketChannel)
           
 
Methods inherited from class com.partnersoft.net.TcpSocketChannelDaemon
runImp, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TcpProxyDaemon

public TcpProxyDaemon(int localPort,
                      java.lang.String remoteHost,
                      int remotePort,
                      int timeout)
Method Detail

handleConnection

protected void handleConnection(java.nio.channels.SocketChannel socketChannel)
                         throws java.lang.Exception
Specified by:
handleConnection in class TcpSocketChannelDaemon
Throws:
java.lang.Exception