Class DefaultX11ForwardSupport
- All Implemented Interfaces:
Closeable, AutoCloseable, Channel, Closeable, IoHandler, X11ForwardSupport
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractCloseable
AbstractCloseable.State -
Field Summary
FieldsFields inherited from class AbstractCloseable
closeFuture, futureLock, stateFields inherited from class AbstractLoggingBean
logFields inherited from interface 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 AbstractInnerCloseable
doCloseGracefully, doCloseImmediatelyMethods inherited from class AbstractCloseable
addCloseFutureListener, builder, close, getFutureLock, isClosed, isClosing, preClose, removeCloseFutureListenerMethods inherited from class 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface 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
-
exceptionCaught
-
toString
-