程序包 | 说明 |
---|---|
io.netty.handler.codec.dns |
DNS codec.
|
限定符和类型 | 字段和说明 |
---|---|
static DnsOpCode |
DnsOpCode.IQUERY
The 'IQuery' DNS OpCode, as defined in RFC1035.
|
static DnsOpCode |
DnsOpCode.NOTIFY
The 'Notify' DNS OpCode, as defined in RFC1996.
|
static DnsOpCode |
DnsOpCode.QUERY
The 'Query' DNS OpCode, as defined in RFC1035.
|
static DnsOpCode |
DnsOpCode.STATUS
The 'Status' DNS OpCode, as defined in RFC1035.
|
static DnsOpCode |
DnsOpCode.UPDATE
The 'Update' DNS OpCode, as defined in RFC2136.
|
限定符和类型 | 方法和说明 |
---|---|
DnsOpCode |
DnsMessage.opCode()
Returns the
opCode of this DNS message. |
DnsOpCode |
AbstractDnsMessage.opCode() |
static DnsOpCode |
DnsOpCode.valueOf(int b)
Returns the
DnsOpCode instance of the specified byte value. |
限定符和类型 | 方法和说明 |
---|---|
int |
DnsOpCode.compareTo(DnsOpCode o) |
DnsResponse |
DnsResponse.setOpCode(DnsOpCode opCode) |
DnsQuery |
DnsQuery.setOpCode(DnsOpCode opCode) |
DnsMessage |
DnsMessage.setOpCode(DnsOpCode opCode)
Sets the
opCode of this DNS message. |
DnsResponse |
DefaultDnsResponse.setOpCode(DnsOpCode opCode) |
DnsQuery |
DefaultDnsQuery.setOpCode(DnsOpCode opCode) |
DatagramDnsResponse |
DatagramDnsResponse.setOpCode(DnsOpCode opCode) |
DatagramDnsQuery |
DatagramDnsQuery.setOpCode(DnsOpCode opCode) |
DnsMessage |
AbstractDnsMessage.setOpCode(DnsOpCode opCode) |
构造器和说明 |
---|
AbstractDnsMessage(int id,
DnsOpCode opCode)
Creates a new instance with the specified
id and opCode . |
DatagramDnsQuery(java.net.InetSocketAddress sender,
java.net.InetSocketAddress recipient,
int id,
DnsOpCode opCode)
Creates a new instance.
|
DatagramDnsResponse(java.net.InetSocketAddress sender,
java.net.InetSocketAddress recipient,
int id,
DnsOpCode opCode)
Creates a new instance with the
DnsResponseCode.NOERROR responseCode. |
DatagramDnsResponse(java.net.InetSocketAddress sender,
java.net.InetSocketAddress recipient,
int id,
DnsOpCode opCode,
DnsResponseCode responseCode)
Creates a new instance.
|
DefaultDnsQuery(int id,
DnsOpCode opCode)
Creates a new instance.
|
DefaultDnsResponse(int id,
DnsOpCode opCode)
Creates a new instance with the
DnsResponseCode.NOERROR RCODE . |
DefaultDnsResponse(int id,
DnsOpCode opCode,
DnsResponseCode code)
Creates a new instance.
|