Package akka.io
Class UdpConnected$
- java.lang.Object
-
- akka.io.UdpConnected$
-
- All Implemented Interfaces:
ExtensionId<UdpConnectedExt>
,ExtensionIdProvider
public class UdpConnected$ extends java.lang.Object implements ExtensionId<UdpConnectedExt>, ExtensionIdProvider
UDP Extension for Akka’s IO layer.This extension implements the connectionless UDP protocol with calling
connect
on the underlying sockets, i.e. with restricting from whom data can be received. For “unconnected” UDP mode seeUdp
.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
UdpConnectedMessage
.
-
-
Field Summary
Fields Modifier and Type Field Description static UdpConnected$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description UdpConnected$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UdpConnectedExt
createExtension(ExtendedActorSystem system)
Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.UdpConnectedExt
get(ActorSystem system)
Java API: retrieve the UdpConnected extension for the given system.UdpConnectedExt
get(ClassicActorSystemProvider system)
Returns an instance of the extension identified by this ExtensionId instance.UdpConnected$
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, apply, equals, hashCode
-
-
-
-
Field Detail
-
MODULE$
public static final UdpConnected$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
lookup
public UdpConnected$ lookup()
Description copied from interface:ExtensionIdProvider
Returns the canonical ExtensionId for this Extension- Specified by:
lookup
in interfaceExtensionIdProvider
-
createExtension
public UdpConnectedExt 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 interfaceExtensionId<UdpConnectedExt>
-
get
public UdpConnectedExt get(ActorSystem system)
Java API: retrieve the UdpConnected extension for the given system.- Specified by:
get
in interfaceExtensionId<UdpConnectedExt>
-
get
public UdpConnectedExt 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 interfaceExtensionId<UdpConnectedExt>
-
-