public class ClientConnectionService extends AbstractConnectionService
ssh-connection service.| Modifier and Type | Class and Description |
|---|---|
static class |
ClientConnectionService.Factory |
agentForward, allowMoreSessions, channels, nextChannelId, session, tcpipForwarder, x11ForwardCLOSED, closeFuture, GRACEFUL, IMMEDIATE, lock, log, OPENED, state| Constructor and Description |
|---|
ClientConnectionService(Session s) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
createX11Display(boolean singleConnection,
java.lang.String authenticationProtocol,
java.lang.String authenticationCookie,
int screen) |
java.lang.String |
initAgentForward() |
protected void |
sendHeartBeat() |
void |
start() |
protected void |
startHeartBeat() |
channelClose, channelData, channelEof, channelExtendedData, channelFailure, channelOpen, channelOpenConfirmation, channelOpenFailure, channelRequest, channelWindowAdjust, getChannel, getInnerCloseable, getNextChannelId, getSession, getTcpipForwarder, globalRequest, process, registerChannel, requestFailure, requestSuccess, setAllowMoreSessions, toString, unregisterChanneldoCloseGracefully, doCloseImmediatelyclose, postClosepublic ClientConnectionService(Session s) throws SshException
SshExceptionpublic void start()
start in interface Servicestart in class AbstractConnectionServiceprotected void startHeartBeat()
protected void sendHeartBeat()
public java.lang.String initAgentForward()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String createX11Display(boolean singleConnection,
java.lang.String authenticationProtocol,
java.lang.String authenticationCookie,
int screen)
throws java.io.IOException
java.io.IOExceptionCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.