Packages

  • package root
    Definition Classes
    root
  • package akka
    Definition Classes
    root
  • package io
    Definition Classes
    akka
  • package dns
    Definition Classes
    io
  • object DnsProtocol

    Supersedes akka.io.Dns protocol.

    Supersedes akka.io.Dns protocol.

    Note that one MUST configure akka.io.dns.resolver = async-dns to make use of this protocol and resolver.

    Allows for more detailed lookups, by specifying which records should be checked, and responses can more information than plain IP addresses (e.g. ports for SRV records).

    Definition Classes
    dns
  • Ip
  • RequestType
  • Resolve
  • Resolved
  • Srv

final case class Resolve(name: String, requestType: RequestType) extends ConsistentHashable with Product with Serializable

Sending this to the AsyncDnsManager will either lead to a Resolved or a akka.actor.Status.Failure response. If request type are both, both resolutions must succeed or the response is a failure.

Source
DnsProtocol.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Resolve
  2. Serializable
  3. Product
  4. Equals
  5. ConsistentHashable
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Resolve(name: String, requestType: RequestType)

Value Members

  1. def consistentHashKey: Any
    Definition Classes
    ResolveConsistentHashable
  2. val name: String
  3. def productElementNames: Iterator[String]
    Definition Classes
    Product
  4. val requestType: RequestType