Class Udp.SimpleSender
Retrieve a reference to a "simple sender" actor of the UDP extension. The newly created "simple sender" will reply with the Udp.SimpleSenderReady notification.
The "simple sender" is a convenient service for being able to send datagrams when the originating address is meaningless, i.e. when no reply is expected.
The "simple sender" will not stop itself, you will have to send it a PoisonPill when you want to close the socket.
Implements
Inherited Members
Namespace: Akka.IO
Assembly: Akka.dll
Syntax
public sealed class Udp.SimpleSender : Udp.Command, INoSerializationVerificationNeeded
Constructors
| Edit this page View SourceSimpleSender(IEnumerable<SocketOption>)
Creates a new SimpleSender command with the specified socket options.
Declaration
public SimpleSender(IEnumerable<Inet.SocketOption> options = null)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Inet.SocketOption> | options | Socket options to apply to the UDP socket. |
Fields
| Edit this page View SourceInstance
Singleton instance that represents a simple sender command.
Declaration
public static readonly Udp.SimpleSender Instance
Field Value
Type | Description |
---|---|
Udp.SimpleSender |
Properties
| Edit this page View SourceOptions
Socket options to apply to the UDP socket.
Declaration
public IEnumerable<Inet.SocketOption> Options { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Inet.SocketOption> |