public class ClientConnectionService extends AbstractConnectionService
ssh-connection
service.Modifier and Type | Class and Description |
---|---|
static class |
ClientConnectionService.Factory |
agentForward, allowMoreSessions, channels, nextChannelId, session, tcpipForwarder, x11Forward
CLOSED, closeFuture, GRACEFUL, IMMEDIATE, lock, log, OPENED, 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, unregisterChannel
doCloseGracefully, doCloseImmediately
close, postClose
public ClientConnectionService(Session s) throws SshException
SshException
public void start()
start
in interface Service
start
in class AbstractConnectionService
protected void startHeartBeat()
protected void sendHeartBeat()
public String initAgentForward() throws IOException
IOException
public String createX11Display(boolean singleConnection, String authenticationProtocol, String authenticationCookie, int screen) throws IOException
IOException
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.