Search Results for

    Show / Hide Table of Contents

    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.

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

    Constructors

    | Edit this page View Source

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

    Instance

    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 Source

    Options

    Socket options to apply to the UDP socket.

    Declaration
    public IEnumerable<Inet.SocketOption> Options { get; }
    Property Value
    Type Description
    IEnumerable<Inet.SocketOption>

    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