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 classTcp.SO$.KeepAliveInet.SocketOptionto enable or disable SO_KEEPALIVEclassTcp.SO$.KeepAlive$classTcp.SO$.OOBInlineInet.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$.TcpNoDelayInet.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 voidakka$io$Inet$SoForwarders$_setter_$ReceiveBufferSize_$eq(akka.io.Inet.SO.ReceiveBufferSize$ x$1)Inet.SocketOptionto set the SO_RCVBUF optionprotected voidakka$io$Inet$SoForwarders$_setter_$ReuseAddress_$eq(akka.io.Inet.SO.ReuseAddress$ x$1)Inet.SocketOptionto enable or disable SO_REUSEADDRprotected voidakka$io$Inet$SoForwarders$_setter_$SendBufferSize_$eq(akka.io.Inet.SO.SendBufferSize$ x$1)Inet.SocketOptionto set the SO_SNDBUF option.protected voidakka$io$Inet$SoForwarders$_setter_$TrafficClass_$eq(akka.io.Inet.SO.TrafficClass$ x$1)Inet.SocketOptionto 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.SocketOptionto set the SO_RCVBUF optionakka.io.Inet.SO.ReuseAddress$ReuseAddress()Inet.SocketOptionto enable or disable SO_REUSEADDRakka.io.Inet.SO.SendBufferSize$SendBufferSize()Inet.SocketOptionto set the SO_SNDBUF option.akka.io.Inet.SO.TrafficClass$TrafficClass()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 akka.io.Inet.SO.ReceiveBufferSize$ ReceiveBufferSize()
Description copied from interface:Inet.SoForwardersInet.SocketOptionto set the SO_RCVBUF optionFor more information see
Socket.setReceiveBufferSize(int)- Specified by:
ReceiveBufferSizein interfaceInet.SoForwarders
-
ReuseAddress
public akka.io.Inet.SO.ReuseAddress$ ReuseAddress()
Description copied from interface:Inet.SoForwardersInet.SocketOptionto enable or disable SO_REUSEADDRFor more information see
Socket.setReuseAddress(boolean)- Specified by:
ReuseAddressin interfaceInet.SoForwarders
-
SendBufferSize
public akka.io.Inet.SO.SendBufferSize$ SendBufferSize()
Description copied from interface:Inet.SoForwardersInet.SocketOptionto set the SO_SNDBUF option.For more information see
Socket.setSendBufferSize(int)- Specified by:
SendBufferSizein interfaceInet.SoForwarders
-
TrafficClass
public akka.io.Inet.SO.TrafficClass$ TrafficClass()
Description copied from interface:Inet.SoForwardersInet.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
-
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.SoForwardersInet.SocketOptionto set the SO_RCVBUF optionFor more information see
Socket.setReceiveBufferSize(int)- Specified by:
akka$io$Inet$SoForwarders$_setter_$ReceiveBufferSize_$eqin 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.SoForwardersInet.SocketOptionto enable or disable SO_REUSEADDRFor more information see
Socket.setReuseAddress(boolean)- Specified by:
akka$io$Inet$SoForwarders$_setter_$ReuseAddress_$eqin 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.SoForwardersInet.SocketOptionto set the SO_SNDBUF option.For more information see
Socket.setSendBufferSize(int)- Specified by:
akka$io$Inet$SoForwarders$_setter_$SendBufferSize_$eqin 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.SoForwardersInet.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:
akka$io$Inet$SoForwarders$_setter_$TrafficClass_$eqin interfaceInet.SoForwarders
-
-