Search Results for

    Show / Hide Table of Contents

    Class Udp.Received

    When a listener actor receives a datagram from its socket it will send it to the handler designated in the Udp.Bind message using this message type.

    Inheritance
    object
    Udp.Message
    Udp.Event
    Udp.Received
    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.Received : Udp.Event, INoSerializationVerificationNeeded

    Constructors

    | Edit this page View Source

    Received(ByteString, EndPoint)

    Creates a new Received event with the specified data and sender.

    Declaration
    public Received(ByteString data, EndPoint sender)
    Parameters
    Type Name Description
    ByteString data

    The UDP datagram payload.

    EndPoint sender

    The remote endpoint that sent the datagram.

    Properties

    | Edit this page View Source

    Data

    The UDP datagram payload.

    Declaration
    public ByteString Data { get; }
    Property Value
    Type Description
    ByteString
    | Edit this page View Source

    Sender

    The remote endpoint that sent the datagram.

    Declaration
    public EndPoint Sender { get; }
    Property Value
    Type Description
    EndPoint

    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