public class MailExchangeRecordDecoder extends java.lang.Object implements RecordDecoder
3.3.9. MX RDATA format
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| PREFERENCE |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
/ EXCHANGE /
/ /
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
where:
PREFERENCE
A 16 bit integer which specifies the preference given to this RR among
others at the same owner. Lower values are preferred.
EXCHANGE
A which specifies a host willing to act as a mail exchange
for the owner name.
| Constructor and Description |
|---|
MailExchangeRecordDecoder() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
decode(org.apache.mina.core.buffer.IoBuffer byteBuffer,
short length)
Decodes the given length of resource record data into attributes.
|
public java.util.Map<java.lang.String,java.lang.Object> decode(org.apache.mina.core.buffer.IoBuffer byteBuffer,
short length)
throws java.io.IOException
RecordDecoderdecode in interface RecordDecoderjava.io.IOException