Class Udp
UDP Extension for Akka'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 "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.
Inherited Members
Namespace: Akka.IO
Assembly: Akka.dll
Syntax
public class Udp : ExtensionIdProvider<UdpExt>, IExtensionId<UdpExt>, IExtensionId
Fields
| Edit this page View SourceInstance
Singleton instance of the UDP extension.
Declaration
public static readonly Udp Instance
Field Value
Type | Description |
---|---|
Udp |
Methods
| Edit this page View SourceCreateExtension(ExtendedActorSystem)
Creates a new UDP extension instance for the specified actor system.
Declaration
public override UdpExt CreateExtension(ExtendedActorSystem system)
Parameters
Type | Name | Description |
---|---|---|
ExtendedActorSystem | system | The actor system to create the extension for. |
Returns
Type | Description |
---|---|
UdpExt | A new UDP extension instance. |
Overrides
| Edit this page View SourceManager(ActorSystem)
Gets the UDP manager actor reference for the specified actor system.
Declaration
public static IActorRef Manager(ActorSystem system)
Parameters
Type | Name | Description |
---|---|---|
ActorSystem | system | The actor system to get the UDP manager for. |
Returns
Type | Description |
---|---|
IActorRef | The actor reference to the UDP manager. |