| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectcom.sshtools.j2ssh.forwarding.ForwardingConfigurationcom.sshtools.j2ssh.forwarding.ForwardingListenercom.sshtools.j2ssh.forwarding.ForwardingClient.ClientForwardingListenerpublic class ForwardingClient.ClientForwardingListenerextends ForwardingListenerNested 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 | |
| |
Method Summary | |
ForwardingSocketChannel |
|
Methods inherited from class com.sshtools.j2ssh.forwarding.ForwardingListener | |
createChannel, 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, start, stop | |
public ClientForwardingListener(String name,
ConnectionProtocol connection,
String addressToBind,
int portToBind,
String hostToConnect,
int portToConnect)Creates a new ForwardingListener object.
- Parameters:
name-connection-addressToBind-portToBind-hostToConnect-portToConnect-
public ForwardingSocketChannel createChannel(String hostToConnect, int portToConnect, Socket socket) throws ForwardingConfigurationException
- Overrides:
- createChannel in interface ForwardingListener
- Parameters:
hostToConnect-portToConnect-socket-
- Returns:
- Throws:
ForwardingConfigurationException-