Package org.apache.pekko.io
Class TcpSO$
java.lang.Object
org.apache.pekko.io.TcpSO$
- All Implemented Interfaces:
- Inet.SoJavaFactories
Java API for accessing socket options.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.apache.pekko.io.Tcp.SO.KeepAlivekeepAlive(boolean on) pekko.io.Inet.SocketOptionto enable or disable SO_KEEPALIVEorg.apache.pekko.io.Tcp.SO.OOBInlineoobInline(boolean on) pekko.io.Inet.SocketOptionto enable or disable OOBINLINE (receipt of TCP urgent data) By default, this option is disabled and TCP urgent data is silently discarded.org.apache.pekko.io.Tcp.SO.TcpNoDelaytcpNoDelay(boolean on) pekko.io.Inet.SocketOptionto enable or disable TCP_NODELAY (disable or enable Nagle's algorithm)Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.io.Inet.SoJavaFactoriesreceiveBufferSize, reuseAddress, sendBufferSize, trafficClass
- 
Field Details- 
MODULE$Static reference to the singleton instance of this Scala object.
 
- 
- 
Constructor Details- 
TcpSO$public TcpSO$()
 
- 
- 
Method Details- 
keepAlivepublic org.apache.pekko.io.Tcp.SO.KeepAlive keepAlive(boolean on) pekko.io.Inet.SocketOptionto enable or disable SO_KEEPALIVEFor more information see java.net.Socket.setKeepAlive
- 
oobInlinepublic org.apache.pekko.io.Tcp.SO.OOBInline oobInline(boolean on) pekko.io.Inet.SocketOptionto 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
- 
tcpNoDelaypublic org.apache.pekko.io.Tcp.SO.TcpNoDelay tcpNoDelay(boolean on) pekko.io.Inet.SocketOptionto 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
 
-