@UnstableApi public class DnsOpCode extends java.lang.Object implements java.lang.Comparable<DnsOpCode>
OpCode
as defined in RFC2929.限定符和类型 | 字段和说明 |
---|---|
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.
|
构造器和说明 |
---|
DnsOpCode(int byteValue,
java.lang.String name) |
限定符和类型 | 方法和说明 |
---|---|
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
在类中 java.lang.Object
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
public java.lang.String toString()
toString
在类中 java.lang.Object