Package org.apache.pekko.io
Class Tcp.SO$
- java.lang.Object
-
- org.apache.pekko.io.Tcp.SO$
-
- All Implemented Interfaces:
Inet.SoForwarders
- Enclosing class:
- Tcp
public static class Tcp.SO$ extends java.lang.Object implements Inet.SoForwarders
Scala API: this object contains all applicable socket options for TCP.For the Java API see
TcpSO.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classTcp.SO$.KeepAlivepekko.io.Inet.SocketOptionto enable or disable SO_KEEPALIVEclassTcp.SO$.KeepAlive$classTcp.SO$.OOBInlinepekko.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.classTcp.SO$.OOBInline$classTcp.SO$.TcpNoDelaypekko.io.Inet.SocketOptionto enable or disable TCP_NODELAY (disable or enable Nagle's algorithm)classTcp.SO$.TcpNoDelay$
-
Constructor Summary
Constructors Constructor Description SO$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidorg$apache$pekko$io$Inet$SoForwarders$_setter_$ReceiveBufferSize_$eq(org.apache.pekko.io.Inet.SO.ReceiveBufferSize$ x$1)pekko.io.Inet.SocketOptionto set the SO_RCVBUF optionprotected voidorg$apache$pekko$io$Inet$SoForwarders$_setter_$ReuseAddress_$eq(org.apache.pekko.io.Inet.SO.ReuseAddress$ x$1)pekko.io.Inet.SocketOptionto enable or disable SO_REUSEADDRprotected voidorg$apache$pekko$io$Inet$SoForwarders$_setter_$SendBufferSize_$eq(org.apache.pekko.io.Inet.SO.SendBufferSize$ x$1)pekko.io.Inet.SocketOptionto set the SO_SNDBUF option.protected voidorg$apache$pekko$io$Inet$SoForwarders$_setter_$TrafficClass_$eq(org.apache.pekko.io.Inet.SO.TrafficClass$ x$1)pekko.io.Inet.SocketOptionto set the traffic class or type-of-service octet in the IP header for packets sent from this socket.org.apache.pekko.io.Inet.SO.ReceiveBufferSize$ReceiveBufferSize()pekko.io.Inet.SocketOptionto set the SO_RCVBUF optionorg.apache.pekko.io.Inet.SO.ReuseAddress$ReuseAddress()pekko.io.Inet.SocketOptionto enable or disable SO_REUSEADDRorg.apache.pekko.io.Inet.SO.SendBufferSize$SendBufferSize()pekko.io.Inet.SocketOptionto set the SO_SNDBUF option.org.apache.pekko.io.Inet.SO.TrafficClass$TrafficClass()pekko.io.Inet.SocketOptionto set the traffic class or type-of-service octet in the IP header for packets sent from this socket.
-
-
-
Field Detail
-
MODULE$
public static final Tcp.SO$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
ReceiveBufferSize
public org.apache.pekko.io.Inet.SO.ReceiveBufferSize$ ReceiveBufferSize()
Description copied from interface:Inet.SoForwarderspekko.io.Inet.SocketOptionto set the SO_RCVBUF optionFor more information see
Socket.setReceiveBufferSize(int)- Specified by:
ReceiveBufferSizein interfaceInet.SoForwarders
-
ReuseAddress
public org.apache.pekko.io.Inet.SO.ReuseAddress$ ReuseAddress()
Description copied from interface:Inet.SoForwarderspekko.io.Inet.SocketOptionto enable or disable SO_REUSEADDRFor more information see
Socket.setReuseAddress(boolean)- Specified by:
ReuseAddressin interfaceInet.SoForwarders
-
SendBufferSize
public org.apache.pekko.io.Inet.SO.SendBufferSize$ SendBufferSize()
Description copied from interface:Inet.SoForwarderspekko.io.Inet.SocketOptionto set the SO_SNDBUF option.For more information see
Socket.setSendBufferSize(int)- Specified by:
SendBufferSizein interfaceInet.SoForwarders
-
TrafficClass
public org.apache.pekko.io.Inet.SO.TrafficClass$ TrafficClass()
Description copied from interface:Inet.SoForwarderspekko.io.Inet.SocketOptionto set the traffic class or type-of-service octet in the IP header for packets sent from this socket.For more information see
Socket.setTrafficClass(int)- Specified by:
TrafficClassin interfaceInet.SoForwarders
-
org$apache$pekko$io$Inet$SoForwarders$_setter_$ReceiveBufferSize_$eq
protected void org$apache$pekko$io$Inet$SoForwarders$_setter_$ReceiveBufferSize_$eq(org.apache.pekko.io.Inet.SO.ReceiveBufferSize$ x$1)
Description copied from interface:Inet.SoForwarderspekko.io.Inet.SocketOptionto set the SO_RCVBUF optionFor more information see
Socket.setReceiveBufferSize(int)- Specified by:
org$apache$pekko$io$Inet$SoForwarders$_setter_$ReceiveBufferSize_$eqin interfaceInet.SoForwarders
-
org$apache$pekko$io$Inet$SoForwarders$_setter_$ReuseAddress_$eq
protected void org$apache$pekko$io$Inet$SoForwarders$_setter_$ReuseAddress_$eq(org.apache.pekko.io.Inet.SO.ReuseAddress$ x$1)
Description copied from interface:Inet.SoForwarderspekko.io.Inet.SocketOptionto enable or disable SO_REUSEADDRFor more information see
Socket.setReuseAddress(boolean)- Specified by:
org$apache$pekko$io$Inet$SoForwarders$_setter_$ReuseAddress_$eqin interfaceInet.SoForwarders
-
org$apache$pekko$io$Inet$SoForwarders$_setter_$SendBufferSize_$eq
protected void org$apache$pekko$io$Inet$SoForwarders$_setter_$SendBufferSize_$eq(org.apache.pekko.io.Inet.SO.SendBufferSize$ x$1)
Description copied from interface:Inet.SoForwarderspekko.io.Inet.SocketOptionto set the SO_SNDBUF option.For more information see
Socket.setSendBufferSize(int)- Specified by:
org$apache$pekko$io$Inet$SoForwarders$_setter_$SendBufferSize_$eqin interfaceInet.SoForwarders
-
org$apache$pekko$io$Inet$SoForwarders$_setter_$TrafficClass_$eq
protected void org$apache$pekko$io$Inet$SoForwarders$_setter_$TrafficClass_$eq(org.apache.pekko.io.Inet.SO.TrafficClass$ x$1)
Description copied from interface:Inet.SoForwarderspekko.io.Inet.SocketOptionto set the traffic class or type-of-service octet in the IP header for packets sent from this socket.For more information see
Socket.setTrafficClass(int)- Specified by:
org$apache$pekko$io$Inet$SoForwarders$_setter_$TrafficClass_$eqin interfaceInet.SoForwarders
-
-