blob: 54ee9bd956866f12d5f60c55a45d3b036b55b232 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package com.lumaserv.bgp.protocol.message;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class BGPNotification {
byte majorErrorCode;
byte minorErrorCode;
public BGPNotification(byte[] message) {
this.majorErrorCode = message[0];
this.minorErrorCode = message[1];
}
}
|