Class RobotHandler

  • All Implemented Interfaces:
    java.lang.Runnable

    public class RobotHandler
    extends java.lang.Object
    implements java.lang.Runnable
    • Method Detail

      • set_socket

        public void set_socket​(java.net.Socket _socket)
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • getUnsignedInt8

        public static short getUnsignedInt8​(java.nio.ByteBuffer data)
      • getUnsignedInt16

        public static int getUnsignedInt16​(java.nio.ByteBuffer data)
      • getUnsignedInt16_BE

        public static int getUnsignedInt16_BE​(java.nio.ByteBuffer data)
      • getUnsignedInt32

        public static long getUnsignedInt32​(java.nio.ByteBuffer data)
      • getUnsignedInt32_BE

        public static long getUnsignedInt32_BE​(java.nio.ByteBuffer data)
      • getString

        public static java.lang.String getString​(java.nio.ByteBuffer data,
                                                 int length)
      • getBool

        public static boolean getBool​(java.nio.ByteBuffer data)
      • putBool

        public static void putBool​(java.nio.ByteBuffer data,
                                   boolean b)