Class Udp.NoAck
Each Udp.Send can optionally request a positive acknowledgment to be sent to the commanding actor. If such notification is not desired the Ack must be set to an instance of this class. The token contained within can be used to recognize which write failed when receiving a Udp.CommandFailed message.
Implements
Inherited Members
Namespace: Akka.IO
Assembly: Akka.dll
Syntax
public sealed class Udp.NoAck : Udp.Event, INoSerializationVerificationNeeded
Constructors
| Edit this page View SourceNoAck(object)
Creates a new NoAck instance with the specified token.
Declaration
public NoAck(object token)
Parameters
Type | Name | Description |
---|---|---|
object | token | A token that can be used to identify this NoAck instance. |
Fields
| Edit this page View SourceInstance
Default Udp.NoAck instance which is used when no acknowledgment information is explicitly provided. Its "token" is null.
Declaration
public static readonly Udp.NoAck Instance
Field Value
Type | Description |
---|---|
Udp.NoAck |
Properties
| Edit this page View SourceToken
Gets the token associated with this NoAck instance.
Declaration
public object Token { get; }
Property Value
Type | Description |
---|---|
object |
Methods
| Edit this page View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |