summaryrefslogtreecommitdiff
path: root/src/main/java/com/lumaserv/bgp/protocol/attribute/DevelopmentAttribute.java
blob: 453f934dc10672d676a602b1ccd60ddbbfeeb3fd (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
package com.lumaserv.bgp.protocol.attribute;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class DevelopmentAttribute implements PathAttribute {

    byte[] data;

    public DevelopmentAttribute(byte typeCode, byte[] data) {
        this.data = data;
    }

    public byte[] build() {
        return data;
    }

    public byte getTypeCode() {
        return (byte) 255;
    }

}