public class DefaultX11ForwardSupport extends AbstractInnerCloseable implements X11ForwardSupport
AbstractCloseable.StatecloseFuture, futureLock, statelogENV_DISPLAY, XAUTH_COMMAND| Constructor and Description |
|---|
DefaultX11ForwardSupport(ConnectionService service) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
createDisplay(boolean singleConnection,
String authenticationProtocol,
String authenticationCookie,
int screen) |
void |
exceptionCaught(IoSession session,
Throwable cause) |
protected Closeable |
getInnerCloseable() |
void |
messageReceived(IoSession session,
Readable message) |
void |
sessionClosed(IoSession session) |
void |
sessionCreated(IoSession session) |
String |
toString() |
doCloseGracefully, doCloseImmediatelyaddCloseFutureListener, builder, close, getFutureLock, isClosed, isClosing, preClose, removeCloseFutureListenerdebug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warnclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddCloseFutureListener, close, close, getMaxCloseWaitTime, isClosed, isClosing, isOpen, removeCloseFutureListenerpublic DefaultX11ForwardSupport(ConnectionService service)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ChannelIOExceptionprotected Closeable getInnerCloseable()
getInnerCloseable in class AbstractInnerCloseablepublic String createDisplay(boolean singleConnection, String authenticationProtocol, String authenticationCookie, int screen) throws IOException
createDisplay in interface X11ForwardSupportIOExceptionpublic void sessionCreated(IoSession session) throws Exception
sessionCreated in interface IoHandlerExceptionpublic void sessionClosed(IoSession session) throws Exception
sessionClosed in interface IoHandlerExceptionpublic void messageReceived(IoSession session, Readable message) throws Exception
messageReceived in interface IoHandlerExceptionpublic void exceptionCaught(IoSession session, Throwable cause) throws Exception
exceptionCaught in interface IoHandlerExceptionCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.