Package org.apache.pekko.io
Interface Inet.SoJavaFactories
- Enclosing class:
- Inet
public static interface Inet.SoJavaFactories
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pekko.io.Inet.SO.ReceiveBufferSizereceiveBufferSize(int size) pekko.io.Inet.SocketOptionto set the SO_RCVBUF optionorg.apache.pekko.io.Inet.SO.ReuseAddressreuseAddress(boolean on) pekko.io.Inet.SocketOptionto enable or disable SO_REUSEADDRorg.apache.pekko.io.Inet.SO.SendBufferSizesendBufferSize(int size) pekko.io.Inet.SocketOptionto set the SO_SNDBUF option.org.apache.pekko.io.Inet.SO.TrafficClasstrafficClass(int tc) pekko.io.Inet.SocketOptionto set the traffic class or type-of-service octet in the IP header for packets sent from this socket.
-
Method Details
-
receiveBufferSize
org.apache.pekko.io.Inet.SO.ReceiveBufferSize receiveBufferSize(int size) pekko.io.Inet.SocketOptionto set the SO_RCVBUF optionFor more information see
Socket.setReceiveBufferSize(int) -
reuseAddress
org.apache.pekko.io.Inet.SO.ReuseAddress reuseAddress(boolean on) pekko.io.Inet.SocketOptionto enable or disable SO_REUSEADDRFor more information see
Socket.setReuseAddress(boolean) -
sendBufferSize
org.apache.pekko.io.Inet.SO.SendBufferSize sendBufferSize(int size) pekko.io.Inet.SocketOptionto set the SO_SNDBUF option.For more information see
Socket.setSendBufferSize(int) -
trafficClass
org.apache.pekko.io.Inet.SO.TrafficClass trafficClass(int tc) pekko.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)
-