| Modifier and Type | Field and Description |
|---|---|
static DnsOpCode |
IQUERY
The 'IQuery' DNS OpCode, as defined in RFC1035.
|
static DnsOpCode |
NOTIFY
The 'Notify' DNS OpCode, as defined in RFC1996.
|
static DnsOpCode |
QUERY
The 'Query' DNS OpCode, as defined in RFC1035.
|
static DnsOpCode |
STATUS
The 'Status' DNS OpCode, as defined in RFC1035.
|
static DnsOpCode |
UPDATE
The 'Update' DNS OpCode, as defined in RFC2136.
|
| Constructor and Description |
|---|
DnsOpCode(int byteValue,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
byte |
byteValue() |
int |
compareTo(DnsOpCode o) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
static DnsOpCode |
valueOf(int b)
Returns the
DnsOpCode instance of the specified byte value. |
public static DnsOpCode valueOf(int b)
DnsOpCode instance of the specified byte value.public byte byteValue()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int compareTo(DnsOpCode o)
compareTo in interface java.lang.Comparable<DnsOpCode>public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2019 The Netty Project. All rights reserved.