object SO extends SoForwarders
Scala API: this object contains all applicable socket options for TCP.
For the Java API see TcpSO.
- Source
- Tcp.scala
- Alphabetic
- By Inheritance
- SO
- SoForwarders
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
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
-
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
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
-
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
-
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
-
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )