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
- Alphabetic
- By Inheritance
- TcpNoDelay
- Serializable
- Serializable
- Product
- Equals
- SocketOption
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
-
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
- TcpNoDelay → SocketOption
-
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
-
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
-
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
- val on: Boolean