public static final class DefaultLispSignature.SignatureReader extends Object implements LispMessageReader<LispSignature>
| Constructor and Description |
|---|
SignatureReader() |
| Modifier and Type | Method and Description |
|---|---|
LispSignature |
readFrom(io.netty.buffer.ByteBuf byteBuf)
Reads from byte buffer and de-serialize the LISP control message.
|
public LispSignature readFrom(io.netty.buffer.ByteBuf byteBuf) throws LispParseError, LispReaderException, org.onlab.packet.DeserializationException
LispMessageReaderreadFrom in interface LispMessageReader<LispSignature>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