akka.io
Class Udp$

java.lang.Object
  extended by akka.io.Udp$
All Implemented Interfaces:
ExtensionId<UdpExt>, ExtensionIdProvider

public class Udp$
extends java.lang.Object
implements ExtensionId<UdpExt>, ExtensionIdProvider

UDP Extension for Akka’s IO layer.

All contents of the akka.io package is marked “experimental”.

This marker signifies that APIs may still change in response to user feedback through-out the 2.2 release cycle. The implementation itself is considered stable and ready for production use.

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 “connected” UDP mode see UdpConnected.

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

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


Field Summary
static Udp$ MODULE$
          Static reference to the singleton instance of this Scala object.
 
Constructor Summary
Udp$()
           
 
Method Summary
 UdpExt createExtension(ExtendedActorSystem system)
          Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.
 UdpExt get(ActorSystem system)
          Java API: retrieve the Udp extension for the given system.
 Udp$ lookup()
          Returns the canonical ExtensionId for this Extension
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface akka.actor.ExtensionId
apply, equals, hashCode
 

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

lookup

public Udp$ lookup()
Description copied from interface: ExtensionIdProvider
Returns the canonical ExtensionId for this Extension

Specified by:
lookup in interface ExtensionIdProvider

createExtension

public UdpExt createExtension(ExtendedActorSystem system)
Description copied from interface: ExtensionId
Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.

Specified by:
createExtension in interface ExtensionId<UdpExt>

get

public UdpExt get(ActorSystem system)
Java API: retrieve the Udp extension for the given system.

Specified by:
get in interface ExtensionId<UdpExt>