Package 

Enum Option

  • All Implemented Interfaces:
    java.io.Serializable , java.lang.Comparable

    
    public enum Option
    
                        

    Options used in PseudoTCP

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      OPT_NODELAY

      Whether to enable Nagle's algorithm (0 == off)

      OPT_ACKDELAY

      The Delayed ACK timeout (0 == off).

      OPT_RCVBUF

      Set the receive buffer size, in bytes.

      OPT_SNDBUF

      Set the send buffer size, in bytes.

      OPT_READ_TIMEOUT

      Timeout in ms for read operations(0 - no timeout)

      OPT_WRITE_TIMEOUT

      Timeout in ms for write operations(0 - no timeout)

    • Method Summary

      Modifier and Type Method Description
      static Array<Option> values()
      static Option valueOf(String name)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait