summaryrefslogtreecommitdiff
path: root/src/main/java/com/lumaserv/bgp/protocol/attribute/UnknownAttribute.java
blob: 9dbe0f959a533b7509831e1bfe8b5e6de9c9e804 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
    }

}