Search Results for

    Show / Hide Table of Contents

    Class DnsExt

    The Akka.IO DNS extension that manages DNS resolution settings, caching, and the DNS manager actor.

    Inheritance
    object
    IOExtension
    DnsExt
    Implements
    IExtension
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.IO
    Assembly: Akka.dll
    Syntax
    public class DnsExt : IOExtension, IExtension

    Constructors

    | Edit this page View Source

    DnsExt(ExtendedActorSystem)

    Initializes the DNS extension for the specified actor system, loading settings and creating the DNS provider.

    Declaration
    public DnsExt(ExtendedActorSystem system)
    Parameters
    Type Name Description
    ExtendedActorSystem system

    The actor system this extension is being created for.

    Properties

    | Edit this page View Source

    Cache

    The DNS cache used for storing and retrieving resolved DNS entries.

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

    Manager

    The connection manager for this particular extension

    Declaration
    public override IActorRef Manager { get; }
    Property Value
    Type Description
    IActorRef
    Overrides
    IOExtension.Manager
    | Edit this page View Source

    Provider

    The DNS provider that supplies the resolver actor and cache implementations.

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

    Settings

    The DNS configuration settings.

    Declaration
    public DnsExt.DnsSettings Settings { get; }
    Property Value
    Type Description
    DnsExt.DnsSettings

    Methods

    | Edit this page View Source

    GetResolver()

    Returns the DNS manager actor reference.

    Declaration
    public IActorRef GetResolver()
    Returns
    Type Description
    IActorRef

    The DNS manager IActorRef.

    Implements

    IExtension

    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