public interface ConnectionService extends Service
Modifier and Type | Method and Description |
---|---|
String |
createX11Display(boolean singleConnection,
String authenticationProtocol,
String authenticationCookie,
int screen) |
TcpipForwarder |
getTcpipForwarder()
Retrieve the tcpip forwarder
|
String |
initAgentForward() |
int |
registerChannel(Channel channel)
Register a newly created channel with a new unique identifier
|
void |
setAllowMoreSessions(boolean allow) |
void |
unregisterChannel(Channel channel)
Remove this channel from the list of managed channels
|
close, getSession, process, start
int registerChannel(Channel channel) throws IOException
channel
- the channel to registerIOException
void unregisterChannel(Channel channel)
channel
- the channelTcpipForwarder getTcpipForwarder()
String initAgentForward() throws IOException
IOException
String createX11Display(boolean singleConnection, String authenticationProtocol, String authenticationCookie, int screen) throws IOException
IOException
void setAllowMoreSessions(boolean allow)
Copyright © 2008–2018 The Apache Software Foundation. All rights reserved.