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 Resolved(name: String, records: Seq[ResourceRecord], additionalRecords: Seq[ResourceRecord]) extends NoSerializationVerificationNeeded with Product with Serializable

name

of the record

records

resource records for the query

additionalRecords

records that relate to the query but are not strictly answers

Source
DnsProtocol.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Resolved
  2. Serializable
  3. Product
  4. Equals
  5. NoSerializationVerificationNeeded
  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 Resolved(name: String, records: Seq[ResourceRecord], additionalRecords: Seq[ResourceRecord])

    name

    of the record

    records

    resource records for the query

    additionalRecords

    records that relate to the query but are not strictly answers

Value Members

  1. val additionalRecords: Seq[ResourceRecord]
  2. def address(): InetAddress

    Return the host, taking into account the "java.net.preferIPv6Addresses" system property.

    Return the host, taking into account the "java.net.preferIPv6Addresses" system property.

    Annotations
    @throws(scala.this.throws.<init>$default$1[java.net.UnknownHostException])
    Exceptions thrown
  3. def getAdditionalRecords(): List[ResourceRecord]

    Java API

    Java API

    Records that relate to the query but are not strickly answers e.g. A records for the records returned for an SRV query.

  4. def getRecords(): List[ResourceRecord]

    Java API

    Java API

    Records for the query

  5. val name: String
  6. def productElementNames: Iterator[String]
    Definition Classes
    Product
  7. val records: Seq[ResourceRecord]