[ONOS-4718] Initial implementation of LISP control message objects
Change-Id: I22cdb1a4b5d7bb7f0681c9fa9a45223b60bdb282
diff --git a/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/protocols/DefaultLispMapNotify.java b/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/protocols/DefaultLispMapNotify.java
index 6021931..d187d88 100644
--- a/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/protocols/DefaultLispMapNotify.java
+++ b/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/protocols/DefaultLispMapNotify.java
@@ -17,6 +17,8 @@
import io.netty.buffer.ByteBuf;
+import java.util.List;
+
/**
* Default LISP map notify message class.
*/
@@ -36,4 +38,67 @@
public Builder createBuilder() {
return null;
}
+
+ @Override
+ public long getNonce() {
+ return 0;
+ }
+
+ @Override
+ public byte getRecordCount() {
+ return 0;
+ }
+
+ @Override
+ public short getKeyId() {
+ return 0;
+ }
+
+ @Override
+ public byte[] getAuthenticationData() {
+ return new byte[0];
+ }
+
+ @Override
+ public List<LispRecord> getLispRecords() {
+ return null;
+ }
+
+ public static final class DefaultNotifyBuilder implements NotifyBuilder {
+
+ @Override
+ public LispMessage build() {
+ return null;
+ }
+
+ @Override
+ public LispType getType() {
+ return null;
+ }
+
+ @Override
+ public NotifyBuilder withNonce(long nonce) {
+ return null;
+ }
+
+ @Override
+ public NotifyBuilder withRecordCount(byte recordCount) {
+ return null;
+ }
+
+ @Override
+ public NotifyBuilder withKeyId(short keyId) {
+ return null;
+ }
+
+ @Override
+ public NotifyBuilder withAuthenticationData(byte[] authenticationData) {
+ return null;
+ }
+
+ @Override
+ public NotifyBuilder addRecord(LispRecord record) {
+ return null;
+ }
+ }
}