Package | Description |
---|---|
org.apache.directory.server.dns.messages |
Provides message objects for DNS messages and resource records.
|
Modifier and Type | Method and Description |
---|---|
static MessageType |
MessageType.convert(byte value)
Converts an ordinal value into a
MessageType . |
MessageType |
DnsMessage.getMessageType() |
static MessageType |
MessageType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageType[] |
MessageType.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.setMessageType(MessageType messageType) |
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.