com.sshtools.j2ssh.forwarding
Class ForwardingClient.ClientForwardingListener

java.lang.Object
  extended by com.sshtools.j2ssh.forwarding.ForwardingConfiguration
      extended by com.sshtools.j2ssh.forwarding.ForwardingListener
          extended by com.sshtools.j2ssh.forwarding.ForwardingClient.ClientForwardingListener
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
ForwardingClient

public class ForwardingClient.ClientForwardingListener
extends ForwardingListener


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sshtools.j2ssh.forwarding.ForwardingConfiguration
ForwardingConfiguration.ForwardingConfigurationMonitor
 
Field Summary
 
Fields inherited from class com.sshtools.j2ssh.forwarding.ForwardingConfiguration
addressToBind, hostToConnect, listenerList, monitor, name, portToBind, portToConnect, state
 
Constructor Summary
ForwardingClient.ClientForwardingListener(java.lang.String name, ConnectionProtocol connection, java.lang.String addressToBind, int portToBind, java.lang.String hostToConnect, int portToConnect)
           
 
Method Summary
 ForwardingSocketChannel createChannel(java.lang.String hostToConnect, int portToConnect, java.net.Socket socket)
           
 
Methods inherited from class com.sshtools.j2ssh.forwarding.ForwardingListener
getLocalPort, isListening, isRunning, run, start, stop
 
Methods inherited from class com.sshtools.j2ssh.forwarding.ForwardingConfiguration
addForwardingConfigurationListener, createForwardingBindingChannel, createForwardingIOChannel, createForwardingSocketChannel, getActiveForwardingSocketChannels, getAddressToBind, getHostToConnect, getName, getPortToBind, getPortToConnect, getState, isForwarding, removeForwardingConfigurationListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForwardingClient.ClientForwardingListener

public ForwardingClient.ClientForwardingListener(java.lang.String name,
                                                 ConnectionProtocol connection,
                                                 java.lang.String addressToBind,
                                                 int portToBind,
                                                 java.lang.String hostToConnect,
                                                 int portToConnect)
Method Detail

createChannel

public ForwardingSocketChannel createChannel(java.lang.String hostToConnect,
                                             int portToConnect,
                                             java.net.Socket socket)
                                      throws ForwardingConfigurationException
Specified by:
createChannel in class ForwardingListener
Returns:
Throws:
ForwardingConfigurationException


Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.