o

akka.io

TcpSO

object TcpSO extends SoJavaFactories

Java API for accessing socket options.

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

Value Members

  1. def keepAlive(on: Boolean): KeepAlive

    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. def oobInline(on: Boolean): OOBInline

    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. def receiveBufferSize(size: Int): ReceiveBufferSize

    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
    SoJavaFactories
  4. def reuseAddress(on: Boolean): ReuseAddress

    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
    SoJavaFactories
  5. def sendBufferSize(size: Int): SendBufferSize

    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
    SoJavaFactories
  6. def tcpNoDelay(on: Boolean): TcpNoDelay

    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

  7. def trafficClass(tc: Int): TrafficClass

    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
    SoJavaFactories