Packages

o

akka.io.dns

DnsProtocol

object DnsProtocol

Supersedes akka.io.Dns protocol.

Note that one MUST configure akka.io.dns.resolver = async 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).

Source
DnsProtocol.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DnsProtocol
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Ip(ipv4: Boolean = true, ipv6: Boolean = true) extends RequestType with Product with Serializable
  2. sealed trait RequestType extends AnyRef
  3. final case class Resolve(name: String, requestType: RequestType) extends Product with Serializable
  4. 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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def ipRequestType(): RequestType

    Java API

  11. def ipRequestType(ipv4: Boolean, ipv6: Boolean): RequestType

    Java API

  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def resolve(name: String, requestType: RequestType): Resolve

    Java API

  17. def resolve(name: String): Resolve

    Java API

  18. def srvRequestType(): RequestType

    Java API

  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. object Resolve extends Serializable
  25. object Resolved extends Serializable
  26. object Srv extends RequestType with Product with Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped