Package | Description |
---|---|
org.apache.directory.server.dns.messages |
Provides message objects for DNS messages and resource records.
|
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(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,
List<QuestionRecord> question,
List<ResourceRecord> answer,
List<ResourceRecord> authority,
List<ResourceRecord> additional)
Creates a new instance of DnsMessage.
|
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.