public class ServerConnectionService extends AbstractConnectionService
ssh-connection
service.Modifier and Type | Class and Description |
---|---|
static class |
ServerConnectionService.Factory |
CloseableUtils.AbstractCloseable.State
agentForward, allowMoreSessions, channels, nextChannelId, session, tcpipForwarder, x11Forward
closeFuture, lock, log, state
Modifier | Constructor and Description |
---|---|
protected |
ServerConnectionService(Session s) |
Modifier and Type | Method and Description |
---|---|
String |
createX11Display(boolean singleConnection,
String authenticationProtocol,
String authenticationCookie,
int screen) |
String |
initAgentForward() |
channelClose, channelData, channelEof, channelExtendedData, channelFailure, channelOpen, channelOpenConfirmation, channelOpenFailure, channelRequest, channelWindowAdjust, getChannel, getChannels, getInnerCloseable, getNextChannelId, getSession, getTcpipForwarder, globalRequest, process, registerChannel, requestFailure, requestSuccess, setAllowMoreSessions, start, toString, unregisterChannel
doCloseGracefully, doCloseImmediately
builder, close, isClosed, isClosing, preClose
protected ServerConnectionService(Session s) throws SshException
SshException
public String initAgentForward() throws IOException
IOException
public String createX11Display(boolean singleConnection, String authenticationProtocol, String authenticationCookie, int screen) throws IOException
IOException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.