Class Udp.SO$

  • All Implemented Interfaces:
    Inet.SoForwarders
    Enclosing class:
    Udp

    public static class Udp.SO$
    extends java.lang.Object
    implements Inet.SoForwarders
    Scala API: This object provides access to all socket options applicable to UDP sockets.

    For the Java API see UdpSO.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      class  Udp.SO$.Broadcast
      pekko.io.Inet.SocketOption to set the SO_BROADCAST option
      class  Udp.SO$.Broadcast$  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Udp.SO$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      SO$()  
    • Field Detail

      • MODULE$

        public static final Udp.SO$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • SO$

        public SO$()
    • Method Detail

      • ReceiveBufferSize

        public org.apache.pekko.io.Inet.SO.ReceiveBufferSize$ ReceiveBufferSize()
        Description copied from interface: Inet.SoForwarders
        pekko.io.Inet.SocketOption to set the SO_RCVBUF option

        For more information see Socket.setReceiveBufferSize(int)

        Specified by:
        ReceiveBufferSize in interface Inet.SoForwarders
      • ReuseAddress

        public org.apache.pekko.io.Inet.SO.ReuseAddress$ ReuseAddress()
        Description copied from interface: Inet.SoForwarders
        pekko.io.Inet.SocketOption to enable or disable SO_REUSEADDR

        For more information see Socket.setReuseAddress(boolean)

        Specified by:
        ReuseAddress in interface Inet.SoForwarders
      • SendBufferSize

        public org.apache.pekko.io.Inet.SO.SendBufferSize$ SendBufferSize()
        Description copied from interface: Inet.SoForwarders
        pekko.io.Inet.SocketOption to set the SO_SNDBUF option.

        For more information see Socket.setSendBufferSize(int)

        Specified by:
        SendBufferSize in interface Inet.SoForwarders
      • TrafficClass

        public org.apache.pekko.io.Inet.SO.TrafficClass$ TrafficClass()
        Description copied from interface: Inet.SoForwarders
        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)

        Specified by:
        TrafficClass in interface Inet.SoForwarders
      • org$apache$pekko$io$Inet$SoForwarders$_setter_$TrafficClass_$eq

        protected void org$apache$pekko$io$Inet$SoForwarders$_setter_$TrafficClass_$eq​(org.apache.pekko.io.Inet.SO.TrafficClass$ x$1)
        Description copied from interface: Inet.SoForwarders
        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)

        Specified by:
        org$apache$pekko$io$Inet$SoForwarders$_setter_$TrafficClass_$eq in interface Inet.SoForwarders