| Package | Description |
|---|---|
| org.apache.directory.server.dns.io.decoder |
Provides the decoders for DNS messages and resource records.
|
| org.apache.directory.server.dns.io.encoder |
Provides the encoders for DNS messages and resource records.
|
| org.apache.directory.server.dns.messages |
Provides message objects for DNS messages and resource records.
|
| Modifier and Type | Method and Description |
|---|---|
private OpCode |
DnsMessageDecoder.decodeOpCode(byte header) |
| Modifier and Type | Method and Description |
|---|---|
private byte |
DnsMessageEncoder.encodeOpCode(OpCode opCode) |
| Modifier and Type | Field and Description |
|---|---|
private OpCode |
DnsMessageModifier.opCode |
private OpCode |
DnsMessage.opCode |
| Modifier and Type | Field and Description |
|---|---|
private static ReverseEnumMap<java.lang.Byte,OpCode> |
OpCode.map |
| Modifier and Type | Method and Description |
|---|---|
static OpCode |
OpCode.convert(byte value)
Converts an ordinal value into an
OpCode. |
OpCode |
DnsMessage.getOpCode() |
static OpCode |
OpCode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OpCode[] |
OpCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DnsMessageModifier.setOpCode(OpCode opCode) |
| Constructor and Description |
|---|
DnsMessage(int transactionId,
MessageType messageType,
OpCode opCode,
boolean authoritativeAnswer,
boolean truncated,
boolean recursionDesired,
boolean recursionAvailable,
boolean reserved,
boolean acceptNonAuthenticatedData,
ResponseCode responseCode,
java.util.List<QuestionRecord> question,
java.util.List<ResourceRecord> answer,
java.util.List<ResourceRecord> authority,
java.util.List<ResourceRecord> additional)
Creates a new instance of DnsMessage.
|