- java.lang.Object
-
- io.netty5.handler.codec.dns.DnsOpCode
-
- All Implemented Interfaces:
Comparable<DnsOpCode>
@UnstableApi public class DnsOpCode extends Object implements Comparable<DnsOpCode>
The DNSOpCode
as defined in RFC2929.
-
-
Field Summary
Fields Modifier and Type Field 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
byteValue()
int
compareTo(DnsOpCode o)
boolean
equals(Object obj)
int
hashCode()
String
toString()
static DnsOpCode
valueOf(int b)
Returns theDnsOpCode
instance of the specified byte value.
-
-
-
Constructor Detail
-
DnsOpCode
public DnsOpCode(int byteValue, String name)
-
-