Packages

c

akka.io.Tcp.SO

TcpNoDelay

final case class TcpNoDelay(on: Boolean) extends SocketOption with Product with Serializable

akka.io.Inet.SocketOption to enable or disable TCP_NODELAY (disable or enable Nagle's algorithm)

Please note, that TCP_NODELAY is enabled by default.

For more information see java.net.Socket.setTcpNoDelay

Source
Tcp.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TcpNoDelay
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SocketOption
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TcpNoDelay(on: Boolean)

Value Members

  1. def afterConnect(s: Socket): Unit

    Action to be taken for this option after connect returned (i.e.

    Action to be taken for this option after connect returned (i.e. on the slave socket for servers).

    Definition Classes
    TcpNoDelaySocketOption
  2. def beforeConnect(s: Socket): Unit

    Action to be taken for this option before calling connect()

    Action to be taken for this option before calling connect()

    Definition Classes
    SocketOption
  3. def beforeDatagramBind(ds: DatagramSocket): Unit

    Action to be taken for this option before bind() is called

    Action to be taken for this option before bind() is called

    Definition Classes
    SocketOption
  4. def beforeServerSocketBind(ss: ServerSocket): Unit

    Action to be taken for this option before bind() is called

    Action to be taken for this option before bind() is called

    Definition Classes
    SocketOption
  5. val on: Boolean