Class Tcp.NoAck
Each Tcp.WriteCommand 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 Tcp.CommandFailed message.
Implements
Inherited Members
Namespace: Akka.IO
Assembly: Akka.dll
Syntax
public class Tcp.NoAck : Tcp.Event, INoSerializationVerificationNeeded
Constructors
| Edit this page View SourceNoAck(object?)
Declaration
public NoAck(object? token)
Parameters
| Type | Name | Description |
|---|---|---|
| object | token |
Fields
| Edit this page View SourceInstance
Declaration
public static readonly Tcp.NoAck Instance
Field Value
| Type | Description |
|---|---|
| Tcp.NoAck |
Properties
| Edit this page View SourceToken
A correlation id which can be used to identify a specific write operation.
Declaration
public object? Token { get; }
Property Value
| Type | Description |
|---|---|
| object |
Methods
| Edit this page View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |
Edit this page