Interface Inet.SoJavaFactories

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

    public static interface Inet.SoJavaFactories
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.apache.pekko.io.Inet.SO.ReceiveBufferSize receiveBufferSize​(int size)
      pekko.io.Inet.SocketOption to set the SO_RCVBUF option
      org.apache.pekko.io.Inet.SO.ReuseAddress reuseAddress​(boolean on)
      pekko.io.Inet.SocketOption to enable or disable SO_REUSEADDR
      org.apache.pekko.io.Inet.SO.SendBufferSize sendBufferSize​(int size)
      pekko.io.Inet.SocketOption to set the SO_SNDBUF option.
      org.apache.pekko.io.Inet.SO.TrafficClass trafficClass​(int tc)
      pekko.io.Inet.SocketOption to set the traffic class or type-of-service octet in the IP header for packets sent from this socket.
    • Method Detail

      • receiveBufferSize

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

        For more information see Socket.setReceiveBufferSize(int)

      • reuseAddress

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

        For more information see Socket.setReuseAddress(boolean)

      • sendBufferSize

        org.apache.pekko.io.Inet.SO.SendBufferSize sendBufferSize​(int size)
        pekko.io.Inet.SocketOption to 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.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)