Class DefaultX11ForwardSupport

    • Constructor Detail

      • DefaultX11ForwardSupport

        public DefaultX11ForwardSupport​(ConnectionService service)
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.nio.channels.Channel
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in interface Closeable
        Throws:
        java.io.IOException
      • createDisplay

        public java.lang.String createDisplay​(boolean singleConnection,
                                              java.lang.String authenticationProtocol,
                                              java.lang.String authenticationCookie,
                                              int screen)
                                       throws java.io.IOException
        Specified by:
        createDisplay in interface X11ForwardSupport
        Throws:
        java.io.IOException
      • sessionCreated

        public void sessionCreated​(IoSession session)
                            throws java.lang.Exception
        Specified by:
        sessionCreated in interface IoHandler
        Throws:
        java.lang.Exception
      • sessionClosed

        public void sessionClosed​(IoSession session)
                           throws java.lang.Exception
        Specified by:
        sessionClosed in interface IoHandler
        Throws:
        java.lang.Exception
      • exceptionCaught

        public void exceptionCaught​(IoSession session,
                                    java.lang.Throwable cause)
                             throws java.lang.Exception
        Specified by:
        exceptionCaught in interface IoHandler
        Throws:
        java.lang.Exception
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object