public interface ConnectionService extends Service, PortForwardingEventListenerManager, PortForwardingEventListenerManagerHolder
CLOSE_WAIT_TIMEOUT, DEFAULT_CLOSE_WAIT_TIMEOUT| Modifier and Type | Method and Description |
|---|---|
AgentForwardSupport |
getAgentForwardSupport() |
TcpipForwarder |
getTcpipForwarder()
Retrieve the tcpip forwarder
|
X11ForwardSupport |
getX11ForwardSupport() |
boolean |
isAllowMoreSessions() |
int |
registerChannel(Channel channel)
Register a newly created channel with a new unique identifier
|
void |
setAllowMoreSessions(boolean allow) |
void |
unregisterChannel(Channel channel)
Remove this channel from the list of managed channels
|
getSession, process, startaddCloseFutureListener, close, close, close, getMaxCloseWaitTime, isClosed, isClosing, isOpen, removeCloseFutureListeneraddPortForwardingEventListener, getPortForwardingEventListenerProxy, removePortForwardingEventListeneraddPortForwardingEventListenerManager, getRegisteredManagers, removePortForwardingEventListenerManagerint registerChannel(Channel channel) throws IOException
channel - The Channel to registerIOException - If failed to initialize and register the channelvoid unregisterChannel(Channel channel)
channel - The Channel instanceTcpipForwarder getTcpipForwarder()
TcpipForwarderAgentForwardSupport getAgentForwardSupport()
X11ForwardSupport getX11ForwardSupport()
boolean isAllowMoreSessions()
void setAllowMoreSessions(boolean allow)
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.