public class DefaultX11ForwardSupport extends AbstractInnerCloseable implements X11ForwardSupport
AbstractCloseable.State
closeFuture, futureLock, state
log
ENV_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, doCloseImmediately
addCloseFutureListener, builder, close, getFutureLock, isClosed, isClosing, preClose, removeCloseFutureListener
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addCloseFutureListener, close, close, getMaxCloseWaitTime, isClosed, isClosing, isOpen, removeCloseFutureListener
public DefaultX11ForwardSupport(ConnectionService service)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface Channel
IOException
protected Closeable getInnerCloseable()
getInnerCloseable
in class AbstractInnerCloseable
public String createDisplay(boolean singleConnection, String authenticationProtocol, String authenticationCookie, int screen) throws IOException
createDisplay
in interface X11ForwardSupport
IOException
public void sessionCreated(IoSession session) throws Exception
sessionCreated
in interface IoHandler
Exception
public void sessionClosed(IoSession session) throws Exception
sessionClosed
in interface IoHandler
Exception
public void messageReceived(IoSession session, Readable message) throws Exception
messageReceived
in interface IoHandler
Exception
public void exceptionCaught(IoSession session, Throwable cause) throws Exception
exceptionCaught
in interface IoHandler
Exception
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.