public static final class DefaultLispMapRecord.MapRecordReader extends Object implements LispMessageReader<LispMapRecord>
| Constructor and Description |
|---|
MapRecordReader() |
| Modifier and Type | Method and Description |
|---|---|
LispMapRecord |
readFrom(io.netty.buffer.ByteBuf byteBuf)
Reads from byte buffer and de-serialize the LISP control message.
|
public LispMapRecord readFrom(io.netty.buffer.ByteBuf byteBuf) throws LispParseError, LispReaderException
LispMessageReaderreadFrom in interface LispMessageReader<LispMapRecord>byteBuf - byte bufferLispParseError - if the requested message cannot be parsed
as a LISP objectLispReaderException - if LISP message reader cannot process
the received message