public interface ForwardingManager
| Modifier and Type | Method and Description |
|---|---|
RemoteForwardingInterface |
createRemoteForwardingInterface()
Create the interface to handle the remote forwarding requests.
|
RemoteForwardingInterface[] |
getListeningPorts() |
RemoteForwardingInterface[] |
getListeningPorts(Connection connection) |
RemoteForwardingInterface |
getRemoteInterface(int port) |
boolean |
isListening(int port)
Is there an existing forwarding listening on a particular port?
|
void |
openLocalForwarding(ForwardingChannel channel) |
boolean |
startRemoteForwarding(String addressToBind,
int portToBind,
ConnectionProtocol connection)
Start remote forwarding.
|
boolean |
stopRemoteForwarding(String addressToBind,
int portToBind,
boolean dropActiveTunnels,
ConnectionProtocol connection)
Stop remote forwarding.
|
boolean isListening(int port)
port - intboolean startRemoteForwarding(String addressToBind, int portToBind, ConnectionProtocol connection)
addressToBind - StringportToBind - intconnection - ConnectionProtocolboolean stopRemoteForwarding(String addressToBind, int portToBind, boolean dropActiveTunnels, ConnectionProtocol connection)
addressToBind - StringportToBind - intdropActiveTunnels - booleanconnection - ConnectionProtocolRemoteForwardingInterface createRemoteForwardingInterface()
void openLocalForwarding(ForwardingChannel channel) throws com.maverick.ssh.ChannelOpenException
com.maverick.ssh.ChannelOpenExceptionRemoteForwardingInterface[] getListeningPorts(Connection connection)
RemoteForwardingInterface[] getListeningPorts()
RemoteForwardingInterface getRemoteInterface(int port)
Copyright © 2012. All Rights Reserved.