Class Tcp.SO$.TcpNoDelay

  extended by akka.io.Tcp.SO$.TcpNoDelay
All Implemented Interfaces:
Inet.SocketOption, java.io.Serializable, scala.Equals, scala.Product
Enclosing class:

public class Tcp.SO$.TcpNoDelay
extends java.lang.Object
implements Inet.SocketOption, scala.Product, scala.Serializable

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

See Also:
Serialized Form

Constructor Summary
Tcp.SO$.TcpNoDelay(boolean on)
Method Summary
 void afterConnect(java.net.Socket s)
          Action to be taken for this option after connect returned (i.e.
 boolean on()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface akka.io.Inet.SocketOption
beforeConnect, beforeDatagramBind, beforeServerSocketBind
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
Methods inherited from interface scala.Equals
canEqual, equals

Constructor Detail


public Tcp.SO$.TcpNoDelay(boolean on)
Method Detail


public boolean on()


public void afterConnect(java.net.Socket s)
Description copied from interface: Inet.SocketOption
Action to be taken for this option after connect returned (i.e. on the slave socket for servers).

Specified by:
afterConnect in interface Inet.SocketOption
s - (undocumented)