|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.io.TcpSO
public class TcpSO
Java API for accessing socket options.
Constructor Summary | |
---|---|
TcpSO()
|
Method Summary | |
---|---|
static akka.io.Tcp.SO.KeepAlive |
keepAlive(boolean on)
Inet.SocketOption to enable or disable SO_KEEPALIVE |
static akka.io.Tcp.SO.OOBInline |
oobInline(boolean on)
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. |
static akka.io.Tcp.SO.TcpNoDelay |
tcpNoDelay(boolean on)
Inet.SocketOption to enable or disable TCP_NODELAY
(disable or enable Nagle's algorithm) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface akka.io.Inet.SoJavaFactories |
---|
receiveBufferSize, reuseAddress, sendBufferSize, trafficClass |
Constructor Detail |
---|
public TcpSO()
Method Detail |
---|
public static akka.io.Tcp.SO.KeepAlive keepAlive(boolean on)
Inet.SocketOption
to enable or disable SO_KEEPALIVE
For more information see java.net.Socket.setKeepAlive
on
- (undocumented)
public static akka.io.Tcp.SO.OOBInline oobInline(boolean on)
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
on
- (undocumented)
public static akka.io.Tcp.SO.TcpNoDelay tcpNoDelay(boolean on)
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
on
- (undocumented)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |