public interface LispMessageReader<T>
| Modifier and Type | Method and Description |
|---|---|
T |
readFrom(io.netty.buffer.ByteBuf byteBuf)
Reads from byte buffer and de-serialize the LISP control message.
|
T readFrom(io.netty.buffer.ByteBuf byteBuf) throws LispParseError, LispReaderException, org.onlab.packet.DeserializationException
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