public static final class DefaultLispEncapsulatedControl.EcmReader extends Object implements LispMessageReader<LispEncapsulatedControl>
| Constructor and Description |
|---|
EcmReader() |
| Modifier and Type | Method and Description |
|---|---|
LispEncapsulatedControl |
readFrom(io.netty.buffer.ByteBuf byteBuf)
Reads from byte buffer and de-serialize the LISP control message.
|
public LispEncapsulatedControl readFrom(io.netty.buffer.ByteBuf byteBuf) throws LispParseError, LispReaderException, org.onlab.packet.DeserializationException
LispMessageReaderreadFrom in interface LispMessageReader<LispEncapsulatedControl>byteBuf - byte bufferLispParseError - if the requested message cannot be parsed
as a LISP objectLispReaderException - if LISP message reader cannot process
the received messageorg.onlab.packet.DeserializationException - if an inner IP header (IPv4 or IPv6)
cannot be deserialized due to the message not match
with IP header format