@UnstableApi public class DnsOpCode extends Object implements Comparable<DnsOpCode>
OpCode
as defined in RFC2929.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.
|
Modifier and Type | Method and Description |
---|---|
byte |
byteValue() |
int |
compareTo(DnsOpCode o) |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
static DnsOpCode |
valueOf(int b)
Returns the
DnsOpCode instance of the specified byte value. |
public DnsOpCode(int byteValue, String name)
Copyright © 2008–2017 The Netty Project. All rights reserved.