public interface RemoteForwardingInterface
| Modifier and Type | Method and Description |
|---|---|
boolean |
belongsTo(Connection connection)
Does this factory belong to the connection provided?
|
void |
bindInterface(String addressToBind,
int portToBind,
Connection connection)
A client has requested that the server start listening and forward
any subsequent connections to the client.
|
String |
getBindAddress() |
Connection |
getConnection()
Return the connection that this interface belongs to
|
int |
getPort() |
void |
stopListening(boolean dropActiveTunnels)
Stop listening on active interfaces.
|
String getBindAddress()
int getPort()
void bindInterface(String addressToBind, int portToBind, Connection connection) throws IOException
addressToBind - StringportToBind - intconnection - ConnectionProtocolIOExceptionboolean belongsTo(Connection connection)
connection - ConnectionProtocolvoid stopListening(boolean dropActiveTunnels)
dropActiveTunnels - booleanConnection getConnection()
Copyright © 2012. All Rights Reserved.