|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ForwardingManager
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
boolean isListening(int port)
port - int
boolean startRemoteForwarding(String addressToBind,
int portToBind,
ConnectionProtocol connection)
addressToBind - StringportToBind - intconnection - ConnectionProtocol
boolean stopRemoteForwarding(String addressToBind,
int portToBind,
boolean dropActiveTunnels,
ConnectionProtocol connection)
addressToBind - StringportToBind - intdropActiveTunnels - booleanconnection - ConnectionProtocol
RemoteForwardingInterface createRemoteForwardingInterface()
void openLocalForwarding(ForwardingChannel channel)
throws com.maverick.ssh.ChannelOpenException
com.maverick.ssh.ChannelOpenExceptionRemoteForwardingInterface[] getListeningPorts(Connection connection)
RemoteForwardingInterface[] getListeningPorts()
RemoteForwardingInterface getRemoteInterface(int port)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||