| 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.
|
| org.apache.directory.server.dns.store.jndi.operations |
Provides Command pattern objects for working with the JNDI backing store.
|
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Map<RecordType,RecordDecoder> |
DnsMessageDecoder.DEFAULT_DECODERS
A Hashed Adapter mapping record types to their encoders.
|
| Modifier and Type | Method and Description |
|---|---|
private java.util.Map<java.lang.String,java.lang.Object> |
DnsMessageDecoder.decode(org.apache.mina.core.buffer.IoBuffer byteBuffer,
RecordType type,
short length) |
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Map<RecordType,RecordEncoder> |
DnsMessageEncoder.DEFAULT_ENCODERS
A Hashed Adapter mapping record types to their encoders.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
QuestionRecordEncoder.encodeRecordType(org.apache.mina.core.buffer.IoBuffer byteBuffer,
RecordType recordType) |
protected void |
ResourceRecordEncoder.putRecordType(org.apache.mina.core.buffer.IoBuffer byteBuffer,
RecordType recordType) |
| Modifier and Type | Field and Description |
|---|---|
private RecordType |
ResourceRecordModifier.dnsType |
private RecordType |
ResourceRecordImpl.recordType
Two octets containing one of the resource record TYPE codes.
|
private RecordType |
QuestionRecord.recordType
A two octet code which specifies the type.
|
| Modifier and Type | Field and Description |
|---|---|
private static ReverseEnumMap<java.lang.Short,RecordType> |
RecordType.map |
| Modifier and Type | Method and Description |
|---|---|
static RecordType |
RecordType.convert(short value)
Converts an ordinal value into a
RecordType. |
RecordType |
ResourceRecordImpl.getRecordType() |
RecordType |
ResourceRecord.getRecordType() |
RecordType |
QuestionRecord.getRecordType()
The type of the query.
|
static RecordType |
RecordType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RecordType[] |
RecordType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
RecordType.isResourceRecord(RecordType resourceType)
Returns whether a given
RecordType is a ResourceRecord. |
void |
ResourceRecordModifier.setDnsType(RecordType dnsType) |
| Constructor and Description |
|---|
QuestionRecord(java.lang.String domainName,
RecordType recordType,
RecordClass recordClass)
Creates a new instance of QuestionRecord.
|
ResourceRecordImpl(java.lang.String domainName,
RecordType recordType,
RecordClass recordClass,
int timeToLive,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Creates a new instance of ResourceRecordImpl.
|
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Map<java.lang.String,RecordType> |
GetRecords.OBJECTCLASS_TO_TYPE
Mappings of type to objectClass.
|
private static java.util.Map<RecordType,java.lang.String> |
GetRecords.TYPE_TO_OBJECTCLASS
Mappings of type to objectClass.
|
| Modifier and Type | Method and Description |
|---|---|
private RecordType |
GetRecords.getType(javax.naming.directory.Attribute objectClass) |