Class Udp$

  • All Implemented Interfaces:
    ExtensionId<UdpExt>, ExtensionIdProvider

    public class Udp$
    extends java.lang.Object
    implements ExtensionId<UdpExt>, ExtensionIdProvider
    UDP Extension for Akka&rsquo;s IO layer.

    This extension implements the connectionless UDP protocol without calling connect on the underlying sockets, i.e. without restricting from whom data can be received. For &ldquo;connected&rdquo; UDP mode see UdpConnected.

    For a full description of the design and philosophy behind this IO implementation please refer to the Pekko online documentation.

    The Java API for generating UDP commands is available at UdpMessage.

    • Field Summary

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

      Constructors 
      Constructor Description
      Udp$()  
    • Field Detail

      • MODULE$

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

      • Udp$

        public Udp$()
    • Method Detail

      • get

        public UdpExt get​(ClassicActorSystemProvider system)
        Description copied from interface: ExtensionId
        Returns an instance of the extension identified by this ExtensionId instance. Java API For extensions written in Scala that are to be used from Java also, this method should be overridden to get correct return type.
        
         override def get(system: ClassicActorSystemProvider): TheExtension = super.get(system)
         
        Specified by:
        get in interface ExtensionId<UdpExt>