Class SimpleDnsManager
Actor that manages DNS resolution requests and the DNS cache.
Inherited Members
Namespace: Akka.IO
Assembly: Akka.dll
Syntax
public class SimpleDnsManager : ActorBase, IInternalActor, IRequiresMessageQueue<IUnboundedMessageQueueSemantics>
Constructors
| Edit this page View SourceSimpleDnsManager(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 SourcePostStop()
Cancels the cleanup timer when the actor is stopped.
Declaration
protected override void PostStop()
Overrides
| Edit this page View SourceReceive(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. |