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, stateFields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
logFields inherited from interface org.apache.sshd.server.x11.X11ForwardSupport
ENV_DISPLAY, XAUTH_COMMAND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()createDisplay(boolean singleConnection, String authenticationProtocol, String authenticationCookie, int screen) voidexceptionCaught(IoSession session, Throwable cause) protected CloseablevoidmessageReceived(IoSession session, Readable message) voidsessionClosed(IoSession session) voidsessionCreated(IoSession session) toString()Methods inherited from class org.apache.sshd.common.util.closeable.AbstractInnerCloseable
doCloseGracefully, doCloseImmediatelyMethods inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable
addCloseFutureListener, builder, close, getFutureLock, isClosed, isClosing, preClose, removeCloseFutureListenerMethods 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, warnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
closein interfaceAutoCloseable- Specified by:
closein interfaceChannel- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
getInnerCloseable
- Specified by:
getInnerCloseablein classAbstractInnerCloseable
-
createDisplay
public String createDisplay(boolean singleConnection, String authenticationProtocol, String authenticationCookie, int screen) throws IOException - Specified by:
createDisplayin interfaceX11ForwardSupport- Throws:
IOException
-
sessionCreated
- Specified by:
sessionCreatedin interfaceIoHandler- Throws:
Exception
-
sessionClosed
- Specified by:
sessionClosedin interfaceIoHandler- Throws:
Exception
-
messageReceived
- Specified by:
messageReceivedin interfaceIoHandler- Throws:
Exception
-
exceptionCaught
- Specified by:
exceptionCaughtin interfaceIoHandler- Throws:
Exception
-
toString
-