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
- Alphabetic
- By Inheritance
Inherited
- DnsProtocol
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- final case class Ip(ipv4: Boolean = true, ipv6: Boolean = true) extends RequestType with Product with Serializable
- sealed trait RequestType extends AnyRef
- final case class Resolve(name: String, requestType: RequestType) extends Product with Serializable
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
ipRequestType(): RequestType
Java API
-
def
ipRequestType(ipv4: Boolean, ipv6: Boolean): RequestType
Java API
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
resolve(name: String, requestType: RequestType): Resolve
Java API
-
def
resolve(name: String): Resolve
Java API
-
def
srvRequestType(): RequestType
Java API
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object Resolve extends Serializable
- object Resolved extends Serializable
- object Srv extends RequestType with Product with Serializable