Class DnsExt
The Akka.IO DNS extension that manages DNS resolution settings, caching, and the DNS manager actor.
Implements
Inherited Members
Namespace: Akka.IO
Assembly: Akka.dll
Syntax
public class DnsExt : IOExtension, IExtension
Constructors
| Edit this page View SourceDnsExt(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 SourceCache
The DNS cache used for storing and retrieving resolved DNS entries.
Declaration
public DnsBase Cache { get; }
Property Value
| Type | Description |
|---|---|
| DnsBase |
Manager
The connection manager for this particular extension
Declaration
public override IActorRef Manager { get; }
Property Value
| Type | Description |
|---|---|
| IActorRef |
Overrides
| Edit this page View SourceProvider
The DNS provider that supplies the resolver actor and cache implementations.
Declaration
public IDnsProvider Provider { get; }
Property Value
| Type | Description |
|---|---|
| IDnsProvider |
Settings
The DNS configuration settings.
Declaration
public DnsExt.DnsSettings Settings { get; }
Property Value
| Type | Description |
|---|---|
| DnsExt.DnsSettings |
Methods
| Edit this page View SourceGetResolver()
Returns the DNS manager actor reference.
Declaration
public IActorRef GetResolver()
Returns
| Type | Description |
|---|---|
| IActorRef | The DNS manager IActorRef. |
Edit this page