public class ServerConnectionService extends AbstractConnectionService
ssh-connection service.| Modifier and Type | Class and Description |
|---|---|
static class |
ServerConnectionService.Factory |
agentForward, allowMoreSessions, channels, nextChannelId, session, tcpipForwarder, x11ForwardCLOSED, closeFuture, GRACEFUL, IMMEDIATE, lock, log, OPENED, 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, getInnerCloseable, getNextChannelId, getSession, getTcpipForwarder, globalRequest, process, registerChannel, requestFailure, requestSuccess, setAllowMoreSessions, start, toString, unregisterChanneldoCloseGracefully, doCloseImmediatelyclose, postCloseprotected ServerConnectionService(Session s) throws SshException
SshExceptionpublic String initAgentForward() throws IOException
IOExceptionpublic String createX11Display(boolean singleConnection, String authenticationProtocol, String authenticationCookie, int screen) throws IOException
IOExceptionCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.