blob: 7f89dc02310550ce2dea62ca7a2afee3387c540f [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
20/**
21 * Default LISP map reply message class.
22 */
23public class DefaultLispMapReply implements LispMapReply {
24 @Override
25 public LispType getType() {
26 return null;
27 }
28
29 @Override
30 public void writeTo(ByteBuf byteBuf) {
31
32 }
33
34 @Override
35 public Builder createBuilder() {
36 return null;
37 }
Jian Li719b3bf2016-07-22 00:38:29 +090038
39 @Override
40 public boolean isProbe() {
41 return false;
42 }
43
44 @Override
45 public boolean isEtr() {
46 return false;
47 }
48
49 @Override
50 public boolean isSecurity() {
51 return false;
52 }
53
54 @Override
55 public byte getRecordCount() {
56 return 0;
57 }
58
59 @Override
60 public long getNonce() {
61 return 0;
62 }
63
64 public static final class DefaultReplyBuilder implements ReplyBuilder {
65
66 @Override
67 public LispMessage build() {
68 return null;
69 }
70
71 @Override
72 public LispType getType() {
73 return null;
74 }
75
76 @Override
77 public ReplyBuilder withIsProbe(boolean isProbe) {
78 return null;
79 }
80
81 @Override
82 public ReplyBuilder withIsEtr(boolean isEtr) {
83 return null;
84 }
85
86 @Override
87 public ReplyBuilder withIsSecurity(boolean isSecurity) {
88 return null;
89 }
90
91 @Override
92 public ReplyBuilder withRecordCount(byte recordCount) {
93 return null;
94 }
95
96 @Override
97 public ReplyBuilder withNonce(long nonce) {
98 return null;
99 }
100 }
Jian Li451175e2016-07-19 23:22:20 +0900101}