Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sshtools.j2ssh.forwarding
Class ForwardingClient.ClientForwardingListener

    java.lang.Object
      com.sshtools.j2ssh.forwarding.ForwardingConfiguration
          com.sshtools.j2ssh.forwarding.ForwardingListener
              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 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)` DOCUMENT ME!

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, 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

  Description copied from class: `ForwardingListener`
  DOCUMENT ME!

  Specified by:
    `createChannel` in class `ForwardingListener`
  Parameters:
    `hostToConnect` - DOCUMENT ME!
    `portToConnect` - DOCUMENT ME!
    `socket` - DOCUMENT ME!
  Returns:
    DOCUMENT ME!
  Throws:
    `ForwardingConfigurationException` - DOCUMENT ME!

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD