commit | 26069e2d35f1f865289c63c54c93f3337fad2269 | [log] [tgz] |
---|---|---|
author | Jian Li <pyguni@gmail.com> | Wed Aug 10 22:00:52 2016 +0900 |
committer | Gerrit Code Review <gerrit@onlab.us> | Fri Aug 12 22:15:52 2016 +0000 |
tree | f5363bdaa5a4f7624557fe9e3f1dfd59c2c7b929 | |
parent | 3aa0b1845579f04ac7dd23996f61519595a0a173 [diff] [blame] |
[ONOS-4718] Add skeleton code for de-serializing LISP ctrl messages Change-Id: I52f7905538e5832e5282812df869b8158ce23334
diff --git a/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/protocols/DefaultLispMapReply.java b/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/protocols/DefaultLispMapReply.java index 760d1ad..ee42dd1 100644 --- a/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/protocols/DefaultLispMapReply.java +++ b/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/protocols/DefaultLispMapReply.java
@@ -17,6 +17,7 @@ import com.google.common.base.Objects; import io.netty.buffer.ByteBuf; +import org.onosproject.lisp.msg.exceptions.LispParseError; import static com.google.common.base.MoreObjects.toStringHelper; @@ -169,4 +170,15 @@ return new DefaultLispMapReply(nonce, recordCount, probe, etr, security); } } + + /** + * A private LISP message reader for MapReply message. + */ + private static class ReplyReader implements LispMessageReader<LispMapReply> { + + @Override + public LispMapReply readFrom(ByteBuf byteBuf) throws LispParseError { + return null; + } + } }