public class ServerConnectionService extends AbstractConnectionService<AbstractServerSession> implements ServerSessionHolder
ssh-connection
service.AbstractCloseable.State
agentForward, channels, DEFAULT_MAX_CHANNELS, MAX_CONCURRENT_CHANNELS_PROP, nextChannelId, RESPONSE_BUFFER_GROWTH_FACTOR, tcpipForwarder, x11Forward
closeFuture, lock, state
log
Modifier | Constructor and Description |
---|---|
protected |
ServerConnectionService(AbstractServerSession s) |
Modifier and Type | Method and Description |
---|---|
String |
createX11Display(boolean singleConnection,
String authenticationProtocol,
String authenticationCookie,
int screen) |
ServerSession |
getServerSession() |
String |
initAgentForward() |
channelClose, channelData, channelEof, channelExtendedData, channelFailure, channelOpen, channelOpenConfirmation, channelOpenFailure, channelRequest, channelSuccess, channelWindowAdjust, getChannel, getChannels, getInnerCloseable, getNextChannelId, getSession, getTcpipForwarder, globalRequest, handleUnknownRequest, isAllowMoreSessions, process, registerChannel, requestFailure, requestSuccess, sendChannelOpenFailure, sendGlobalResponse, setAllowMoreSessions, start, toString, unregisterChannel
doCloseGracefully, doCloseImmediately
builder, close, isClosed, isClosing, preClose
close, isOpen
protected ServerConnectionService(AbstractServerSession s) throws SshException
SshException
public final ServerSession getServerSession()
getServerSession
in interface ServerSessionHolder
ServerSession
usedpublic String initAgentForward() throws IOException
initAgentForward
in interface ConnectionService
IOException
public String createX11Display(boolean singleConnection, String authenticationProtocol, String authenticationCookie, int screen) throws IOException
createX11Display
in interface ConnectionService
IOException
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.