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 class
Tcp.SO$.KeepAlive
pekko.io.Inet.SocketOption
to enable or disable SO_KEEPALIVEclass
Tcp.SO$.KeepAlive$
class
Tcp.SO$.OOBInline
pekko.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.class
Tcp.SO$.OOBInline$
class
Tcp.SO$.TcpNoDelay
pekko.io.Inet.SocketOption
to enable or disable TCP_NODELAY (disable or enable Nagle's algorithm)class
Tcp.SO$.TcpNoDelay$
-
Constructor Summary
Constructors Constructor Description SO$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
org$apache$pekko$io$Inet$SoForwarders$_setter_$ReceiveBufferSize_$eq(org.apache.pekko.io.Inet.SO.ReceiveBufferSize$ x$1)
pekko.io.Inet.SocketOption
to set the SO_RCVBUF optionprotected void
org$apache$pekko$io$Inet$SoForwarders$_setter_$ReuseAddress_$eq(org.apache.pekko.io.Inet.SO.ReuseAddress$ x$1)
pekko.io.Inet.SocketOption
to enable or disable SO_REUSEADDRprotected void
org$apache$pekko$io$Inet$SoForwarders$_setter_$SendBufferSize_$eq(org.apache.pekko.io.Inet.SO.SendBufferSize$ x$1)
pekko.io.Inet.SocketOption
to set the SO_SNDBUF option.protected void
org$apache$pekko$io$Inet$SoForwarders$_setter_$TrafficClass_$eq(org.apache.pekko.io.Inet.SO.TrafficClass$ x$1)
pekko.io.Inet.SocketOption
to 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.SocketOption
to set the SO_RCVBUF optionorg.apache.pekko.io.Inet.SO.ReuseAddress$
ReuseAddress()
pekko.io.Inet.SocketOption
to enable or disable SO_REUSEADDRorg.apache.pekko.io.Inet.SO.SendBufferSize$
SendBufferSize()
pekko.io.Inet.SocketOption
to set the SO_SNDBUF option.org.apache.pekko.io.Inet.SO.TrafficClass$
TrafficClass()
pekko.io.Inet.SocketOption
to 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.SoForwarders
pekko.io.Inet.SocketOption
to set the SO_RCVBUF optionFor more information see
Socket.setReceiveBufferSize(int)
- Specified by:
ReceiveBufferSize
in interfaceInet.SoForwarders
-
ReuseAddress
public org.apache.pekko.io.Inet.SO.ReuseAddress$ ReuseAddress()
Description copied from interface:Inet.SoForwarders
pekko.io.Inet.SocketOption
to enable or disable SO_REUSEADDRFor more information see
Socket.setReuseAddress(boolean)
- Specified by:
ReuseAddress
in interfaceInet.SoForwarders
-
SendBufferSize
public org.apache.pekko.io.Inet.SO.SendBufferSize$ SendBufferSize()
Description copied from interface:Inet.SoForwarders
pekko.io.Inet.SocketOption
to set the SO_SNDBUF option.For more information see
Socket.setSendBufferSize(int)
- Specified by:
SendBufferSize
in interfaceInet.SoForwarders
-
TrafficClass
public org.apache.pekko.io.Inet.SO.TrafficClass$ TrafficClass()
Description copied from interface:Inet.SoForwarders
pekko.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
Socket.setTrafficClass(int)
- Specified by:
TrafficClass
in 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.SoForwarders
pekko.io.Inet.SocketOption
to set the SO_RCVBUF optionFor more information see
Socket.setReceiveBufferSize(int)
- Specified by:
org$apache$pekko$io$Inet$SoForwarders$_setter_$ReceiveBufferSize_$eq
in 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.SoForwarders
pekko.io.Inet.SocketOption
to enable or disable SO_REUSEADDRFor more information see
Socket.setReuseAddress(boolean)
- Specified by:
org$apache$pekko$io$Inet$SoForwarders$_setter_$ReuseAddress_$eq
in 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.SoForwarders
pekko.io.Inet.SocketOption
to set the SO_SNDBUF option.For more information see
Socket.setSendBufferSize(int)
- Specified by:
org$apache$pekko$io$Inet$SoForwarders$_setter_$SendBufferSize_$eq
in 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.SoForwarders
pekko.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
Socket.setTrafficClass(int)
- Specified by:
org$apache$pekko$io$Inet$SoForwarders$_setter_$TrafficClass_$eq
in interfaceInet.SoForwarders
-
-