object Dns extends ExtensionId[DnsExt] with ExtensionIdProvider

Source
Dns.scala
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Dns
  2. ExtensionIdProvider
  3. ExtensionId
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait Command extends AnyRef

Deprecated Type Members

  1. case class Resolve(name: String) extends Command with ConsistentHashable with Product with Serializable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) Use cached(DnsProtocol.Resolve)

  2. case class Resolved(name: String, ipv4: Seq[Inet4Address], ipv6: Seq[Inet6Address]) extends Command with Product with Serializable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) Use cached(DnsProtocol.Resolved)

Value Members

  1. def apply(system: ClassicActorSystemProvider): DnsExt

    Returns an instance of the extension identified by this ExtensionId instance.

    Returns an instance of the extension identified by this ExtensionId instance.

    Definition Classes
    ExtensionId
  2. def apply(system: ActorSystem): DnsExt

    Returns an instance of the extension identified by this ExtensionId instance.

    Returns an instance of the extension identified by this ExtensionId instance.

    Definition Classes
    ExtensionId
  3. def cached(name: dns.DnsProtocol.Resolve)(system: ActorSystem): Option[dns.DnsProtocol.Resolved]

    Lookup if a DNS resolved is cached.

    Lookup if a DNS resolved is cached. The exact behavior of caching will depend on the akka.actor.io.dns.resolver that is configured.

  4. def createExtension(system: ExtendedActorSystem): DnsExt

    Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.

    Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.

    Definition Classes
    DnsExtensionId
  5. final def equals(other: Any): Boolean
    Definition Classes
    ExtensionId → AnyRef → Any
  6. def get(system: ClassicActorSystemProvider): DnsExt

    Returns an instance of the extension identified by this ExtensionId instance.

    Returns an instance of the extension identified by this ExtensionId instance. Java API For extensions written in Scala that are to be used from Java also, this method should be overridden to get correct return type.

    override def get(system: ClassicActorSystemProvider): TheExtension = super.get(system)
    Definition Classes
    DnsExtensionId
  7. def get(system: ActorSystem): DnsExt

    Java API: retrieve the Udp extension for the given system.

    Java API: retrieve the Udp extension for the given system.

    Definition Classes
    DnsExtensionId
  8. final def hashCode(): Int
    Definition Classes
    ExtensionId → AnyRef → Any
  9. def lookup: Dns

    Returns the canonical ExtensionId for this Extension

    Returns the canonical ExtensionId for this Extension

    Definition Classes
    DnsExtensionIdProvider
  10. def resolve(name: dns.DnsProtocol.Resolve, system: ActorSystem, sender: ActorRef): Option[dns.DnsProtocol.Resolved]

    If an entry is cached return it immediately.

    If an entry is cached return it immediately. If it is not then trigger a resolve and return None.

Deprecated Value Members

  1. def cached(name: String)(system: ActorSystem): Option[Resolved]

    Lookup if a DNS resolved is cached.

    Lookup if a DNS resolved is cached. The exact behavior of caching will depend on the akka.actor.io.dns.resolver that is configured.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) use cached(DnsProtocol.Resolve)

  2. def resolve(name: String)(system: ActorSystem, sender: ActorRef): Option[Resolved]

    If an entry is cached return it immediately.

    If an entry is cached return it immediately. If it is not then trigger a resolve and return None.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) use resolve(DnsProtocol.Resolve)

  3. object Resolved extends Serializable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) Use cached(DnsProtocol.Resolved)