Package akka.io
Class Tcp.SO$
- java.lang.Object
-
- akka.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
Inet.SocketOption
to enable or disable SO_KEEPALIVEclass
Tcp.SO$.KeepAlive$
class
Tcp.SO$.OOBInline
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
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
akka$io$Inet$SoForwarders$_setter_$ReceiveBufferSize_$eq(akka.io.Inet.SO.ReceiveBufferSize$ x$1)
Inet.SocketOption
to set the SO_RCVBUF optionprotected void
akka$io$Inet$SoForwarders$_setter_$ReuseAddress_$eq(akka.io.Inet.SO.ReuseAddress$ x$1)
Inet.SocketOption
to enable or disable SO_REUSEADDRprotected void
akka$io$Inet$SoForwarders$_setter_$SendBufferSize_$eq(akka.io.Inet.SO.SendBufferSize$ x$1)
Inet.SocketOption
to set the SO_SNDBUF option.protected void
akka$io$Inet$SoForwarders$_setter_$TrafficClass_$eq(akka.io.Inet.SO.TrafficClass$ x$1)
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.SO.ReceiveBufferSize$
ReceiveBufferSize()
Inet.SocketOption
to set the SO_RCVBUF optionakka.io.Inet.SO.ReuseAddress$
ReuseAddress()
Inet.SocketOption
to enable or disable SO_REUSEADDRakka.io.Inet.SO.SendBufferSize$
SendBufferSize()
Inet.SocketOption
to set the SO_SNDBUF option.akka.io.Inet.SO.TrafficClass$
TrafficClass()
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 akka.io.Inet.SO.ReceiveBufferSize$ ReceiveBufferSize()
Description copied from interface:Inet.SoForwarders
Inet.SocketOption
to set the SO_RCVBUF optionFor more information see
Socket.setReceiveBufferSize(int)
- Specified by:
ReceiveBufferSize
in interfaceInet.SoForwarders
-
ReuseAddress
public akka.io.Inet.SO.ReuseAddress$ ReuseAddress()
Description copied from interface:Inet.SoForwarders
Inet.SocketOption
to enable or disable SO_REUSEADDRFor more information see
Socket.setReuseAddress(boolean)
- Specified by:
ReuseAddress
in interfaceInet.SoForwarders
-
SendBufferSize
public akka.io.Inet.SO.SendBufferSize$ SendBufferSize()
Description copied from interface:Inet.SoForwarders
Inet.SocketOption
to set the SO_SNDBUF option.For more information see
Socket.setSendBufferSize(int)
- Specified by:
SendBufferSize
in interfaceInet.SoForwarders
-
TrafficClass
public akka.io.Inet.SO.TrafficClass$ TrafficClass()
Description copied from interface:Inet.SoForwarders
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
-
akka$io$Inet$SoForwarders$_setter_$ReceiveBufferSize_$eq
protected void akka$io$Inet$SoForwarders$_setter_$ReceiveBufferSize_$eq(akka.io.Inet.SO.ReceiveBufferSize$ x$1)
Description copied from interface:Inet.SoForwarders
Inet.SocketOption
to set the SO_RCVBUF optionFor more information see
Socket.setReceiveBufferSize(int)
- Specified by:
akka$io$Inet$SoForwarders$_setter_$ReceiveBufferSize_$eq
in interfaceInet.SoForwarders
-
akka$io$Inet$SoForwarders$_setter_$ReuseAddress_$eq
protected void akka$io$Inet$SoForwarders$_setter_$ReuseAddress_$eq(akka.io.Inet.SO.ReuseAddress$ x$1)
Description copied from interface:Inet.SoForwarders
Inet.SocketOption
to enable or disable SO_REUSEADDRFor more information see
Socket.setReuseAddress(boolean)
- Specified by:
akka$io$Inet$SoForwarders$_setter_$ReuseAddress_$eq
in interfaceInet.SoForwarders
-
akka$io$Inet$SoForwarders$_setter_$SendBufferSize_$eq
protected void akka$io$Inet$SoForwarders$_setter_$SendBufferSize_$eq(akka.io.Inet.SO.SendBufferSize$ x$1)
Description copied from interface:Inet.SoForwarders
Inet.SocketOption
to set the SO_SNDBUF option.For more information see
Socket.setSendBufferSize(int)
- Specified by:
akka$io$Inet$SoForwarders$_setter_$SendBufferSize_$eq
in interfaceInet.SoForwarders
-
akka$io$Inet$SoForwarders$_setter_$TrafficClass_$eq
protected void akka$io$Inet$SoForwarders$_setter_$TrafficClass_$eq(akka.io.Inet.SO.TrafficClass$ x$1)
Description copied from interface:Inet.SoForwarders
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:
akka$io$Inet$SoForwarders$_setter_$TrafficClass_$eq
in interfaceInet.SoForwarders
-
-