DnsQuery implementation.
| Access | Constructor and Description |
|---|---|
| public | DefaultDnsQuery(int
the id)ID of the DNS queryCreates a new instance with the |
| public | DefaultDnsQuery(int
the id, DnsOpCode ID of the DNS querythe opCode)opCode of the DNS queryCreates a new instance. |
| DefaultDnsQuery | back to summary |
|---|---|
| public DefaultDnsQuery(int id) Creates a new instance with the
| |
| DefaultDnsQuery | back to summary |
|---|---|
| public DefaultDnsQuery(int id, DnsOpCode opCode) Creates a new instance.
| |
| addRecord | back to summary |
|---|---|
| public DnsQuery addRecord(DnsSection section, DnsRecord record) Overrides io. Implements io. Doc from io. Adds the specified
| |
| addRecord | back to summary |
|---|---|
| public DnsQuery addRecord(DnsSection section, int index, DnsRecord record) Overrides io. Implements io. Doc from io. Adds the specified
| |
| clear | back to summary |
|---|---|
| public DnsQuery clear(DnsSection section) Overrides io. Implements io. Doc from io. Removes all the records in the specified
| |
| clear | back to summary |
|---|---|
| public DnsQuery clear() Overrides io. Implements io. Doc from io. Removes all the records in this DNS message.
| |
| retain | back to summary |
|---|---|
| public DnsQuery retain() Overrides io. Implements io. Doc from io. Increases the reference count by
| |
| retain | back to summary |
|---|---|
| public DnsQuery retain(int increment) Overrides io. Implements io. Doc from io. Increases the reference count by the specified
| |
| setId | back to summary |
|---|---|
| public DnsQuery setId(int id) Overrides io. Implements io. Doc from io. Sets the
| |
| setOpCode | back to summary |
|---|---|
| public DnsQuery setOpCode(DnsOpCode opCode) Overrides io. Implements io. Doc from io. Sets the
| |
| setRecord | back to summary |
|---|---|
| public DnsQuery setRecord(DnsSection section, DnsRecord record) Overrides io. Implements io. Doc from io. Sets the specified
| |
| setRecursionDesired | back to summary |
|---|---|
| public DnsQuery setRecursionDesired(boolean recursionDesired) Overrides io. Implements io. Doc from io. Sets the
| |
| setZ | back to summary |
|---|---|
| public DnsQuery setZ(int z) Overrides io. Implements io. Doc from io. Sets the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| touch | back to summary |
|---|---|
| public DnsQuery touch() Overrides io. Implements io. Doc from io. Records the current access location of this object for debugging purposes.
If this object is determined to be leaked, the information recorded by this operation will be provided to you
via
| |
| touch | back to summary |
|---|---|
| public DnsQuery touch(Object hint) Overrides io. Implements io. Doc from io. Records the current access location of this object with an additional arbitrary information for debugging
purposes. If this object is determined to be leaked, the information recorded by this operation will be
provided to you via
| |