public class ClientConnectionService extends AbstractConnectionService
ssh-connection service.| Modifier and Type | Class and Description |
|---|---|
static class |
ClientConnectionService.Factory |
CloseableUtils.AbstractCloseable.StateagentForward, allowMoreSessions, channels, nextChannelId, session, tcpipForwarder, x11ForwardcloseFuture, lock, log, state| Constructor and Description |
|---|
ClientConnectionService(Session s) |
| Modifier and Type | Method and Description |
|---|---|
String |
createX11Display(boolean singleConnection,
String authenticationProtocol,
String authenticationCookie,
int screen) |
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, doCloseImmediatelybuilder, close, isClosed, isClosing, preClosepublic ClientConnectionService(Session s) throws SshException
SshExceptionpublic void start()
start in interface Servicestart in class AbstractConnectionServiceprotected void startHeartBeat()
protected void sendHeartBeat()
public 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.