public class Udp$ extends java.lang.Object implements ExtensionId<akka.io.UdpExt>, ExtensionIdProvider
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.
| Modifier and Type | Field and Description |
|---|---|
static Udp$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
| Constructor and Description |
|---|
Udp$() |
| Modifier and Type | Method and Description |
|---|---|
akka.io.UdpExt |
createExtension(ExtendedActorSystem system)
Is used by Akka to instantiate the Extension identified by this ExtensionId,
internal use only.
|
akka.io.UdpExt |
get(ActorSystem system)
Java API: retrieve the Udp extension for the given system.
|
Udp$ |
lookup()
Returns the canonical ExtensionId for this Extension
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapply, equals, hashCodepublic static final Udp$ MODULE$
public Udp$ lookup()
ExtensionIdProviderlookup in interface ExtensionIdProviderpublic akka.io.UdpExt createExtension(ExtendedActorSystem system)
ExtensionIdcreateExtension in interface ExtensionId<akka.io.UdpExt>public akka.io.UdpExt get(ActorSystem system)
get in interface ExtensionId<akka.io.UdpExt>