public interface RemoteForwardingFactory
Modifier and Type | Method and Description |
---|---|
boolean |
belongsTo(ConnectionProtocol connection)
Does this factory belong to the connection provided?
|
int |
bindInterface(String addressToBind,
int portToBind,
ConnectionProtocol connection)
A client has requested that the server start listening and forward
any subsequent connections to the client.
|
int |
bindInterface(String addressToBind,
int portToBind,
ConnectionProtocol connection,
String channelType) |
void |
stopListening(boolean dropActiveTunnels)
Stop listening on active interfaces.
|
int bindInterface(String addressToBind, int portToBind, ConnectionProtocol connection) throws IOException
addressToBind
- StringportToBind
- intconnection
- ConnectionProtocolIOException
int bindInterface(String addressToBind, int portToBind, ConnectionProtocol connection, String channelType) throws IOException
addressToBind
- portToBind
- connection
- channelType
- IOException
boolean belongsTo(ConnectionProtocol connection)
connection
- ConnectionProtocolvoid stopListening(boolean dropActiveTunnels)
dropActiveTunnels
- booleanCopyright © 2024. All rights reserved.