Class X11Forwarder
java.lang.Object
net.schmizz.sshj.connection.channel.forwarded.AbstractForwardedChannelOpener
net.schmizz.sshj.connection.channel.forwarded.X11Forwarder
- All Implemented Interfaces:
ForwardedChannelOpener
Handles forwarded
x11
channels. The actual request to forward X11 should be made from the specific Session
.-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class net.schmizz.sshj.connection.channel.forwarded.AbstractForwardedChannelOpener
chanType, conn, log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleOpen
(SSHPacket buf) Internal APIvoid
stop()
Stop handlingx11
channel open requests.Methods inherited from class net.schmizz.sshj.connection.channel.forwarded.AbstractForwardedChannelOpener
callListener, getChannelType
-
Field Details
-
listener
-
-
Constructor Details
-
X11Forwarder
- Parameters:
conn
- connection layerlistener
- listener which will be delegatedX11Forwarder.X11Channel
's to next
-
-
Method Details
-
handleOpen
Internal API- Parameters:
buf
-SSHPacket
containing the request except for the message identifier and channel type field- Throws:
ConnectionException
TransportException
-
stop
public void stop()Stop handlingx11
channel open requests. De-registers itself with connection layer.
-