Packages

object SO extends SoForwarders

Scala API: this object contains all applicable socket options for TCP.

For the Java API see TcpSO.

Source
Tcp.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SO
  2. SoForwarders
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class KeepAlive(on: Boolean) extends SocketOption with Product with Serializable

    akka.io.Inet.SocketOption to enable or disable SO_KEEPALIVE

    akka.io.Inet.SocketOption to enable or disable SO_KEEPALIVE

    For more information see java.net.Socket.setKeepAlive

  2. final case class OOBInline(on: Boolean) extends SocketOption with Product with Serializable

    akka.io.Inet.SocketOption to enable or disable OOBINLINE (receipt of TCP urgent data) By default, this option is disabled and TCP urgent data is silently discarded.

    akka.io.Inet.SocketOption to enable or disable OOBINLINE (receipt of TCP urgent data) By default, this option is disabled and TCP urgent data is silently discarded.

    For more information see java.net.Socket.setOOBInline

  3. 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)

    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

Value Members

  1. val ReceiveBufferSize: Inet.SO.ReceiveBufferSize.type

    akka.io.Inet.SocketOption to set the SO_RCVBUF option

    akka.io.Inet.SocketOption to set the SO_RCVBUF option

    For more information see java.net.Socket#setReceiveBufferSize

    Definition Classes
    SoForwarders
  2. val ReuseAddress: Inet.SO.ReuseAddress.type

    akka.io.Inet.SocketOption to enable or disable SO_REUSEADDR

    akka.io.Inet.SocketOption to enable or disable SO_REUSEADDR

    For more information see java.net.Socket#setReuseAddress

    Definition Classes
    SoForwarders
  3. val SendBufferSize: Inet.SO.SendBufferSize.type

    akka.io.Inet.SocketOption to set the SO_SNDBUF option.

    akka.io.Inet.SocketOption to set the SO_SNDBUF option.

    For more information see java.net.Socket#setSendBufferSize

    Definition Classes
    SoForwarders
  4. val TrafficClass: Inet.SO.TrafficClass.type

    akka.io.Inet.SocketOption to set the traffic class or type-of-service octet in the IP header for packets sent from this socket.

    akka.io.Inet.SocketOption to set the traffic class or type-of-service octet in the IP header for packets sent from this socket.

    For more information see java.net.Socket#setTrafficClass

    Definition Classes
    SoForwarders