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 <domain-name> 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 |
---|---|
Map<String,Object> |
decode(org.apache.mina.core.buffer.IoBuffer byteBuffer,
short length)
Decodes the given length of resource record data into attributes.
|
public MailExchangeRecordDecoder()
public Map<String,Object> decode(org.apache.mina.core.buffer.IoBuffer byteBuffer, short length) throws IOException
RecordDecoder
decode
in interface RecordDecoder
IOException
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.