blob: 259f80a7b90ccf94dfd7fa369f2b7babd6df35d0 [file] [log] [blame]
Jian Li451175e2016-07-19 23:22:20 +09001/*
2 * Copyright 2016-present Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.lisp.msg.protocols;
17
18import io.netty.buffer.ByteBuf;
19
Jian Li719b3bf2016-07-22 00:38:29 +090020import java.util.List;
21
Jian Li451175e2016-07-19 23:22:20 +090022/**
23 * Default LISP map register message class.
24 */
25public class DefaultLispMapRegister implements LispMapRegister {
26 @Override
27 public LispType getType() {
28 return null;
29 }
30
31 @Override
32 public void writeTo(ByteBuf byteBuf) {
33
34 }
35
36 @Override
37 public Builder createBuilder() {
38 return null;
39 }
Jian Li719b3bf2016-07-22 00:38:29 +090040
41 @Override
42 public boolean isProxyMapReply() {
43 return false;
44 }
45
46 @Override
47 public boolean isWantMapNotify() {
48 return false;
49 }
50
51 @Override
52 public byte getRecordCount() {
53 return 0;
54 }
55
56 @Override
57 public long getNonce() {
58 return 0;
59 }
60
61 @Override
62 public short getKeyId() {
63 return 0;
64 }
65
66 @Override
67 public byte[] getAuthenticationData() {
68 return new byte[0];
69 }
70
71 @Override
72 public List<LispRecord> getLispRecords() {
73 return null;
74 }
75
76 public static final class DefaultRegisterBuilder implements RegisterBuilder {
77
78 @Override
79 public LispMessage build() {
80 return null;
81 }
82
83 @Override
84 public LispType getType() {
85 return null;
86 }
87
88 @Override
89 public RegisterBuilder withIsProxyMapReply(boolean isProxyMapReply) {
90 return null;
91 }
92
93 @Override
94 public RegisterBuilder withIsWantMapNotify(boolean isWantMapNotify) {
95 return null;
96 }
97
98 @Override
99 public RegisterBuilder withRecordCount(byte recordCount) {
100 return null;
101 }
102
103 @Override
104 public RegisterBuilder withNonce(long nonce) {
105 return null;
106 }
107
108 @Override
109 public RegisterBuilder withKeyId(short keyId) {
110 return null;
111 }
112
113 @Override
114 public RegisterBuilder withAuthenticationData(byte[] authenticationData) {
115 return null;
116 }
117
118 @Override
119 public RegisterBuilder addRecord(LispRecord record) {
120 return null;
121 }
122 }
Jian Li451175e2016-07-19 23:22:20 +0900123}