Class SocketConnection

    • Constructor Detail

      • SocketConnection

        public SocketConnection​(java.net.Socket socket)
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface Connection
        Specified by:
        close in class NXTConnection
        Throws:
        java.io.IOException
      • read

        public int read​(byte[] buf,
                        int length)
        Specified by:
        read in class NXTConnection
      • write

        public int write​(byte[] buffer,
                         int numBytes)
        Specified by:
        write in class NXTConnection
      • read

        public int read​(byte[] buf,
                        int length,
                        boolean b)
        Specified by:
        read in class NXTConnection