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; } }