Package org.apache.sshd.server.x11
Class DefaultX11ForwardSupport
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Channel
,Closeable
,IoHandler
,X11ForwardSupport
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable
AbstractCloseable.State
-
Field Summary
FieldsFields inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable
closeFuture, futureLock, state
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
Fields inherited from interface org.apache.sshd.server.x11.X11ForwardSupport
ENV_DISPLAY, XAUTH_COMMAND
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
createDisplay
(boolean singleConnection, String authenticationProtocol, String authenticationCookie, int screen) void
exceptionCaught
(IoSession session, Throwable cause) protected Closeable
void
messageReceived
(IoSession session, Readable message) void
sessionClosed
(IoSession session) void
sessionCreated
(IoSession session) toString()
Methods inherited from class org.apache.sshd.common.util.closeable.AbstractInnerCloseable
doCloseGracefully, doCloseImmediately
Methods inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable
addCloseFutureListener, builder, close, getFutureLock, isClosed, isClosing, preClose, removeCloseFutureListener
Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.sshd.common.Closeable
addCloseFutureListener, close, isClosed, isClosing, isOpen, removeCloseFutureListener
-
Field Details
-
service
-
acceptor
-
-
Constructor Details
-
DefaultX11ForwardSupport
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceChannel
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
getInnerCloseable
- Specified by:
getInnerCloseable
in classAbstractInnerCloseable
-
createDisplay
public String createDisplay(boolean singleConnection, String authenticationProtocol, String authenticationCookie, int screen) throws IOException - Specified by:
createDisplay
in interfaceX11ForwardSupport
- Throws:
IOException
-
sessionCreated
- Specified by:
sessionCreated
in interfaceIoHandler
- Throws:
Exception
-
sessionClosed
- Specified by:
sessionClosed
in interfaceIoHandler
- Throws:
Exception
-
messageReceived
- Specified by:
messageReceived
in interfaceIoHandler
- Throws:
Exception
-
exceptionCaught
- Specified by:
exceptionCaught
in interfaceIoHandler
- Throws:
Exception
-
toString
-