public interface ForwardingFactory<T extends SshContext>
| Modifier and Type | Method and Description |
|---|---|
boolean |
belongsTo(ConnectionProtocol<T> connection)
Does this factory belong to the connection provided?
|
int |
bindInterface(java.lang.String addressToBind,
int portToBind,
ConnectionProtocol<?> connection,
java.lang.String channelType) |
int |
bindInterface(java.lang.String addressToBind,
int portToBind,
ConnectionProtocol<T> connection)
A client has requested that the server start listening and forward
any subsequent connections to the client.
|
SocketListeningForwardingFactoryImpl.ActiveTunnelManager<T> |
getActiveTunnelManager() |
java.lang.String |
getChannelType()
Get the underlying channel type for this forwarding factory.
|
int |
getStartedEventCode() |
int |
getStoppedEventCode() |
void |
stopListening(boolean dropActiveTunnels)
Stop listening on active interfaces.
|
int bindInterface(java.lang.String addressToBind,
int portToBind,
ConnectionProtocol<T> connection)
throws java.io.IOException
addressToBind - StringportToBind - intconnection - ConnectionProtocoljava.io.IOExceptionint bindInterface(java.lang.String addressToBind,
int portToBind,
ConnectionProtocol<?> connection,
java.lang.String channelType)
throws java.io.IOException
addressToBind - portToBind - connection - channelType - java.io.IOExceptionboolean belongsTo(ConnectionProtocol<T> connection)
connection - ConnectionProtocolvoid stopListening(boolean dropActiveTunnels)
dropActiveTunnels - booleanjava.lang.String getChannelType()
int getStartedEventCode()
int getStoppedEventCode()
SocketListeningForwardingFactoryImpl.ActiveTunnelManager<T> getActiveTunnelManager()
Copyright © 2021. All rights reserved.