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. Protected

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. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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
  5. 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
  6. 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
  7. 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
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from SoForwarders

Inherited from AnyRef

Inherited from Any

Ungrouped