Search Results for

    Show / Hide Table of Contents

    Class SimpleDnsManager

    Actor that manages DNS resolution requests and the DNS cache.

    Inheritance
    object
    ActorBase
    SimpleDnsManager
    Implements
    IInternalActor
    IRequiresMessageQueue<IUnboundedMessageQueueSemantics>
    Inherited Members
    ActorBase.Sender
    ActorBase.Self
    ActorBase.Context
    ActorBase.AroundReceive(Receive, object)
    ActorBase.EmptyReceive
    ActorBase.Unhandled(object)
    ActorBase.Become(Receive)
    ActorBase.BecomeStacked(Receive)
    ActorBase.UnbecomeStacked()
    ActorBase.SetReceiveTimeout(TimeSpan?)
    ActorBase.AroundPreRestart(Exception, object)
    ActorBase.AroundPreStart()
    ActorBase.PreStart()
    ActorBase.AroundPostRestart(Exception, object)
    ActorBase.PreRestart(Exception, object)
    ActorBase.PostRestart(Exception)
    ActorBase.AroundPostStop()
    ActorBase.SupervisorStrategy()
    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 SimpleDnsManager : ActorBase, IInternalActor, IRequiresMessageQueue<IUnboundedMessageQueueSemantics>

    Constructors

    | Edit this page View Source

    SimpleDnsManager(DnsExt)

    Creates a new instance of the SimpleDnsManager.

    Declaration
    public SimpleDnsManager(DnsExt ext)
    Parameters
    Type Name Description
    DnsExt ext

    The DNS extension that owns this manager.

    Methods

    | Edit this page View Source

    PostStop()

    Cancels the cleanup timer when the actor is stopped.

    Declaration
    protected override void PostStop()
    Overrides
    ActorBase.PostStop()
    | Edit this page View Source

    Receive(object)

    Handles DNS resolution requests and cache cleanup messages.

    Declaration
    protected override bool Receive(object message)
    Parameters
    Type Name Description
    object message

    The message to process.

    Returns
    Type Description
    bool

    True if the message was handled, false otherwise.

    Overrides
    ActorBase.Receive(object)

    Implements

    IInternalActor
    IRequiresMessageQueue<T>

    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