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() |
boolean |
isAllowMoreSessions() |
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
|
getSession, process, start
int registerChannel(Channel channel) throws IOException
channel
- The Channel
to registerIOException
- If failed to initialize and register the channelvoid unregisterChannel(Channel channel)
channel
- The Channel
instanceTcpipForwarder getTcpipForwarder()
TcpipForwarder
String initAgentForward() throws IOException
IOException
String createX11Display(boolean singleConnection, String authenticationProtocol, String authenticationCookie, int screen) throws IOException
IOException
boolean isAllowMoreSessions()
void setAllowMoreSessions(boolean allow)
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.