ForwarderFactory implementation.
| Modifier and Type | Field and Description |
|---|---|
| public static final DefaultForwarderFactory | |
| private final PortForwardingEventListener | |
| private final Collection |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addPortForwardingEventListener(PortForwardingEventListener
The listener)PortForwardingEventListener to add - never nullImplements org. Add a port forwarding listener |
| public Forwarder | create(ConnectionService
the service)ConnectionService the connections are forwarded throughImplements org. Creates the forwarder to be used for TCP/IP port forwards for this session. |
| public PortForwardingEventListener | |
| public void | removePortForwardingEventListener(PortForwardingEventListener
The listener)PortForwardingEventListener to remove - ignored if nullImplements org. Remove a port forwarding listener |
| INSTANCE | back to summary |
|---|---|
| public static final DefaultForwarderFactory INSTANCE | |
| listenerProxy | back to summary |
|---|---|
| private final PortForwardingEventListener listenerProxy | |
| listeners | back to summary |
|---|---|
| private final Collection<PortForwardingEventListener> listeners | |
| DefaultForwarderFactory | back to summary |
|---|---|
| public DefaultForwarderFactory() | |
| addPortForwardingEventListener | back to summary |
|---|---|
| public void addPortForwardingEventListener(PortForwardingEventListener listener) Implements org. Doc from org. Add a port forwarding listener
| |
| create | back to summary |
|---|---|
| public Forwarder create(ConnectionService service) Implements org. Doc from org. Creates the forwarder to be used for TCP/IP port forwards for this session.
| |
| getPortForwardingEventListenerProxy | back to summary |
|---|---|
| public PortForwardingEventListener getPortForwardingEventListenerProxy() Implements org.
| |
| removePortForwardingEventListener | back to summary |
|---|---|
| public void removePortForwardingEventListener(PortForwardingEventListener listener) Implements org. Doc from org. Remove a port forwarding listener
| |