public class MailExchangeRecordDecoder extends 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() |
public Map<String,Object> decode(org.apache.mina.core.buffer.IoBuffer byteBuffer, short length) throws IOException
RecordDecoderdecode in interface RecordDecoderIOExceptionCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.