blob: 69dae2d50f61c474cadbf47c2f5ef6154f4731ee (
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
|
package com.lumaserv.bgp.protocol.attribute;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
@AllArgsConstructor
@Getter
@Setter
public class UnknownAttribute implements PathAttribute {
byte typeCode;
byte[] data;
public byte[] build() {
return data;
}
public byte getTypeCode() {
return typeCode;
}
public String toString() {
return "Unknown:" + typeCode;
}
}
|