object TcpSO extends SoJavaFactories
- Alphabetic
- By Inheritance
- TcpSO
- SoJavaFactories
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
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
-
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
-
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
-
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
-
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
-
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
-
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