public interface ConnectionService extends Service, SessionHeartbeatController, UnknownChannelReferenceHandlerManager, PortForwardingEventListenerManager, PortForwardingEventListenerManagerHolder
SessionHeartbeatController.HeartbeatTypeCLOSE_WAIT_TIMEOUT, DEFAULT_CLOSE_WAIT_TIMEOUTDEFAULT_CONNECTION_HEARTBEAT_INTERVAL, SESSION_HEARTBEAT_INTERVAL, SESSION_HEARTBEAT_TYPEEMPTY| Modifier and Type | Method and Description |
|---|---|
AgentForwardSupport |
getAgentForwardSupport() |
ForwardingFilter |
getForwardingFilter()
Retrieve the forwarder instance
|
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
|
getParentPropertyResolver, process, startgetSession, getSessionContextaddCloseFutureListener, close, close, close, getMaxCloseWaitTime, isClosed, isClosing, isOpen, removeCloseFutureListenerdisableSessionHeartbeat, getSessionHeartbeatInterval, getSessionHeartbeatType, setSessionHeartbeatgetBoolean, getBooleanProperty, getCharset, getInteger, getIntProperty, getLong, getLongProperty, getObject, getProperties, getString, getStringPropertygetUnknownChannelReferenceHandler, resolveUnknownChannelReferenceHandler, setUnknownChannelReferenceHandleraddPortForwardingEventListener, 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 instanceForwardingFilter getForwardingFilter()
ForwardingFilterAgentForwardSupport getAgentForwardSupport()
X11ForwardSupport getX11ForwardSupport()
boolean isAllowMoreSessions()
void setAllowMoreSessions(boolean allow)
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.