public class X11Forwarder extends AbstractForwardedChannelOpener
x11
channels. The actual request to forward X11 should be made from the specific Session
.Modifier and Type | Class and Description |
---|---|
static class |
X11Forwarder.X11Channel
An
x11 forwarded channel. |
chanType, conn, log
Constructor and Description |
---|
X11Forwarder(Connection conn,
ConnectListener listener) |
Modifier and Type | Method and Description |
---|---|
void |
handleOpen(SSHPacket buf)
Internal API
|
void |
stop()
Stop handling
x11 channel open requests. |
callListener, getChannelType
public X11Forwarder(Connection conn, ConnectListener listener)
conn
- connection layerlistener
- listener which will be delegated X11Forwarder.X11Channel
's to nextpublic void handleOpen(SSHPacket buf) throws ConnectionException, TransportException
buf
- SSHPacket
containg the request except for the message identifier and channel type fieldConnectionException
TransportException
public void stop()
x11
channel open requests. De-registers itself with connection layer.