Class UdpSO

java.lang.Object
org.apache.pekko.io.UdpSO

public class UdpSO extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.pekko.io.Udp.SO.Broadcast
    broadcast(boolean on)
    pekko.io.Inet.SocketOption to set the SO_BROADCAST option
    static org.apache.pekko.io.Inet.SO.ReceiveBufferSize
     
    static org.apache.pekko.io.Inet.SO.ReuseAddress
    reuseAddress(boolean on)
     
    static org.apache.pekko.io.Inet.SO.SendBufferSize
    sendBufferSize(int size)
     
    static org.apache.pekko.io.Inet.SO.TrafficClass
    trafficClass(int tc)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UdpSO

      public UdpSO()
  • Method Details

    • broadcast

      public static org.apache.pekko.io.Udp.SO.Broadcast broadcast(boolean on)
      pekko.io.Inet.SocketOption to set the SO_BROADCAST option

      For more information see DatagramSocket.setBroadcast(boolean)

    • receiveBufferSize

      public static org.apache.pekko.io.Inet.SO.ReceiveBufferSize receiveBufferSize(int size)
    • reuseAddress

      public static org.apache.pekko.io.Inet.SO.ReuseAddress reuseAddress(boolean on)
    • sendBufferSize

      public static org.apache.pekko.io.Inet.SO.SendBufferSize sendBufferSize(int size)
    • trafficClass

      public static org.apache.pekko.io.Inet.SO.TrafficClass trafficClass(int tc)