Package akka.io

Interface Inet.SoJavaFactories

  • All Known Implementing Classes:
    TcpSO$, UdpSO$
    Enclosing class:
    Inet

    public static interface Inet.SoJavaFactories
    • Method Detail

      • receiveBufferSize

        akka.io.Inet.SO.ReceiveBufferSize receiveBufferSize​(int size)
        Inet.SocketOption to set the SO_RCVBUF option

        For more information see Socket.setReceiveBufferSize(int)

      • reuseAddress

        akka.io.Inet.SO.ReuseAddress reuseAddress​(boolean on)
        Inet.SocketOption to enable or disable SO_REUSEADDR

        For more information see Socket.setReuseAddress(boolean)

      • sendBufferSize

        akka.io.Inet.SO.SendBufferSize sendBufferSize​(int size)
        Inet.SocketOption to set the SO_SNDBUF option.

        For more information see Socket.setSendBufferSize(int)

      • trafficClass

        akka.io.Inet.SO.TrafficClass trafficClass​(int tc)
        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)