public class ServerConnectionService extends AbstractConnectionService implements ServerSessionHolder
ssh-connection
service.AbstractCloseable.State
channels, DEFAULT_MAX_CHANNELS, MAX_CONCURRENT_CHANNELS_PROP, nextChannelId, RESPONSE_BUFFER_GROWTH_FACTOR
closeFuture, lock, state
log
CLOSE_WAIT_TIMEOUT, DEFAULT_CLOSE_WAIT_TIMEOUT
Modifier | Constructor and Description |
---|---|
protected |
ServerConnectionService(AbstractServerSession s) |
Modifier and Type | Method and Description |
---|---|
ServerSession |
getServerSession() |
AbstractServerSession |
getSession() |
addPortForwardingEventListener, addPortForwardingEventListenerManager, channelClose, channelData, channelEof, channelExtendedData, channelFailure, channelOpen, channelOpenConfirmation, channelOpenFailure, channelRequest, channelSuccess, channelWindowAdjust, createAgentForwardSupport, createForwardingFilter, createX11ForwardSupport, getAgentForwardSupport, getChannel, getChannel, getChannels, getForwardingFilter, getInnerCloseable, getNextChannelId, getPortForwardingEventListenerProxy, getRegisteredManagers, getUnknownChannelReferenceHandler, getX11ForwardSupport, globalRequest, handleChannelRegistrationFailure, handleUnknownRequest, isAllowMoreSessions, preClose, process, registerChannel, removePortForwardingEventListener, removePortForwardingEventListenerManager, requestFailure, requestSuccess, resolveUnknownChannelReferenceHandler, sendChannelOpenFailure, sendGlobalResponse, setAllowMoreSessions, setUnknownChannelReferenceHandler, start, toString, unregisterChannel
doCloseGracefully, doCloseImmediately
addCloseFutureListener, builder, close, isClosed, isClosing, removeCloseFutureListener
getSimplifiedLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addCloseFutureListener, close, close, close, getMaxCloseWaitTime, isClosed, isClosing, isOpen, removeCloseFutureListener
protected ServerConnectionService(AbstractServerSession s) throws SshException
SshException
public final ServerSession getServerSession()
getServerSession
in interface ServerSessionHolder
ServerSession
usedpublic AbstractServerSession getSession()
getSession
in interface Service
getSession
in class AbstractConnectionService
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.