Class DefaultX11ForwardSupport
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.util.closeable.IoBaseCloseable
org.apache.sshd.common.util.closeable.AbstractCloseable
org.apache.sshd.common.util.closeable.AbstractInnerCloseable
org.apache.sshd.server.x11.DefaultX11ForwardSupport
- All Implemented Interfaces:
Closeable, AutoCloseable, Channel, org.apache.sshd.common.Closeable, org.apache.sshd.common.io.IoHandler, X11ForwardSupport
public class DefaultX11ForwardSupport
extends org.apache.sshd.common.util.closeable.AbstractInnerCloseable
implements X11ForwardSupport
- Author:
- Apache MINA SSHD Project
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sshd.common.util.closeable.AbstractCloseable
org.apache.sshd.common.util.closeable.AbstractCloseable.State -
Field Summary
Fields 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 X11ForwardSupport
ENV_DISPLAY, XAUTH_COMMAND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()createDisplay(boolean singleConnection, String authenticationProtocol, String authenticationCookie, int screen) voidexceptionCaught(org.apache.sshd.common.io.IoSession session, Throwable cause) protected org.apache.sshd.common.CloseablevoidmessageReceived(org.apache.sshd.common.io.IoSession session, org.apache.sshd.common.util.Readable message) voidsessionClosed(org.apache.sshd.common.io.IoSession session) voidsessionCreated(org.apache.sshd.common.io.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 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
-
Constructor Details
-
DefaultX11ForwardSupport
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceChannel- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.apache.sshd.common.Closeable- Throws:
IOException
-
getInnerCloseable
protected org.apache.sshd.common.Closeable getInnerCloseable()- Specified by:
getInnerCloseablein classorg.apache.sshd.common.util.closeable.AbstractInnerCloseable
-
createDisplay
public String createDisplay(boolean singleConnection, String authenticationProtocol, String authenticationCookie, int screen) throws IOException - Specified by:
createDisplayin interfaceX11ForwardSupport- Throws:
IOException
-
sessionCreated
-
sessionClosed
-
messageReceived
-
exceptionCaught
-
toString
-