Class NetAdapterConstants.Connection

  • Enclosing interface:
    NetAdapterConstants

    public static final class NetAdapterConstants.Connection
    extends java.lang.Object
    An inner utility class for coupling Socket with I/O streams
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.io.DataInputStream input
      input stream from socket
      java.io.DataOutputStream output
      output stream from socket
      java.net.Socket sock
      socket to host
    • Constructor Summary

      Constructors 
      Constructor Description
      Connection()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • sock

        public java.net.Socket sock
        socket to host
      • input

        public java.io.DataInputStream input
        input stream from socket
      • output

        public java.io.DataOutputStream output
        output stream from socket
    • Constructor Detail

      • Connection

        public Connection()