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