|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RemoteForwardingFactory
This interface defines the behaviour for remote forwarding requests. When an SSH client requests a remote forwarding we typically open a server socket, accept connections and open remote forwarding channels on the client.
| Method Summary | |
|---|---|
boolean |
belongsTo(ConnectionProtocol connection)
Does this factory belong to the connection provided? |
void |
bindInterface(java.lang.String addressToBind,
int portToBind,
ConnectionProtocol connection)
A client has requested that the server start listening and forward any subsequent connections to the client. |
void |
stopListening(boolean dropActiveTunnels)
Stop listening on active interfaces. |
| Method Detail |
|---|
void bindInterface(java.lang.String addressToBind,
int portToBind,
ConnectionProtocol connection)
throws java.io.IOException
addressToBind - StringportToBind - intconnection - ConnectionProtocol
java.io.IOExceptionboolean belongsTo(ConnectionProtocol connection)
connection - ConnectionProtocol
void stopListening(boolean dropActiveTunnels)
dropActiveTunnels - boolean
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||