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 TypeMethodDescriptionvoidhandleOpen(SSHPacket buf) Internal APIvoidstop()Stop handlingx11channel 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-SSHPacketcontaining the request except for the message identifier and channel type field- Throws:
ConnectionExceptionTransportException
-
stop
public void stop()Stop handlingx11channel open requests. De-registers itself with connection layer.
-