Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    Udp.Message
    Udp.Event
    Udp.NoAck
    Implements
    INoSerializationVerificationNeeded
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Akka.IO
    Assembly: Akka.dll
    Syntax
    public sealed class Udp.NoAck : Udp.Event, INoSerializationVerificationNeeded

    Constructors

    | Edit this page View Source

    NoAck(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 Source

    Instance

    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 Source

    Token

    Gets the token associated with this NoAck instance.

    Declaration
    public object Token { get; }
    Property Value
    Type Description
    object

    Methods

    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    INoSerializationVerificationNeeded

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET