ResourceRecordQuery class
Represents a DNS query.
- Annotations
-
- @immutable
Constructors
- ResourceRecordQuery(int resourceRecordType, String fullyQualifiedName, int questionType)
- Creates a new ResourceRecordQuery.
- ResourceRecordQuery.addressIPv4(String name, {bool isMulticast = true})
- An A (IPv4) query.
- ResourceRecordQuery.addressIPv6(String name, {bool isMulticast = true})
- An AAAA (IPv6) query.
- ResourceRecordQuery.serverPointer(String name, {bool isMulticast = true})
- A PTR (Server pointer) query.
- ResourceRecordQuery.service(String name, {bool isMulticast = true})
- An SRV (Service) query.
- ResourceRecordQuery.text(String name, {bool isMulticast = true})
- A TXT (Text record) query.
Properties
- fullyQualifiedName → String
-
The Fully Qualified Domain Name associated with the request.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isMulticast → bool
-
Convenience accessor to determine whether the question type is multicast.
no setter
- isUnicast → bool
-
Convenience accessor to determine whether the question type is unicast.
no setter
- questionType → int
-
The
QuestionType
, i.e. multicast or unicast.final - resourceRecordType → int
-
Tye type of resource record - one of ResourceRecordType's values.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
encode(
) → List< int> - Encodes this query to the raw wire format.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override