blob: 222c9bf2e0b233bd52c36df8b032e5e72f262490 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
package com.lumaserv.bgp.protocol.attribute;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
import java.nio.ByteBuffer;
@AllArgsConstructor
@Getter
@Setter
public class UnknownAttribute implements PathAttribute {
byte typeCode;
byte[] data;
public void build(ByteBuffer b) {
b.put(b);
}
public byte getTypeCode() {
return typeCode;
}
public String toString() {
return "Unknown:" + typeCode;
}
}
|