Class ChannelX11

  • All Implemented Interfaces:
    java.lang.Runnable

    class ChannelX11
    extends Channel
    • Field Detail

      • LOCAL_MAXIMUM_PACKET_SIZE

        private static final int LOCAL_MAXIMUM_PACKET_SIZE
        See Also:
        Constant Field Values
      • host

        private static java.lang.String host
      • port

        private static int port
      • init

        private boolean init
      • cookie

        static byte[] cookie
      • cookie_hex

        private static byte[] cookie_hex
      • faked_cookie_pool

        private static java.util.Hashtable faked_cookie_pool
      • faked_cookie_hex_pool

        private static java.util.Hashtable faked_cookie_hex_pool
      • table

        private static byte[] table
      • socket

        private java.net.Socket socket
      • cache

        private byte[] cache
    • Constructor Detail

      • ChannelX11

        ChannelX11()
    • Method Detail

      • revtable

        static int revtable​(byte foo)
      • setCookie

        static void setCookie​(java.lang.String foo)
      • setHost

        static void setHost​(java.lang.String foo)
      • setPort

        static void setPort​(int foo)
      • getFakedCookie

        static byte[] getFakedCookie​(Session session)
      • removeFakedCookie

        static void removeFakedCookie​(Session session)
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
        Overrides:
        run in class Channel
      • addCache

        private byte[] addCache​(byte[] foo,
                                int s,
                                int l)
      • write

        void write​(byte[] foo,
                   int s,
                   int l)
            throws java.io.IOException
        Overrides:
        write in class Channel
        Throws:
        java.io.IOException
      • equals

        private static boolean equals​(byte[] foo,
                                      byte[] bar)