public abstract class BGP4Capability extends Object
Modifier and Type | Field and Description |
---|---|
protected byte[] |
bytes |
protected static org.slf4j.Logger |
log |
Constructor and Description |
---|
BGP4Capability() |
BGP4Capability(byte[] bytes,
int offset) |
Modifier and Type | Method and Description |
---|---|
abstract void |
encode() |
void |
encodeHeader() |
byte[] |
getBytes() |
int |
getCapabilityLength() |
static int |
getCapabilityLength(byte[] bytes,
int offset) |
int |
getCapabitityCode() |
static int |
getCapalitityCode(byte[] bytes,
int offset) |
int |
getLength() |
void |
setBytes(byte[] bytes) |
void |
setCapabilityLength(int capabilityLength) |
void |
setCapabitityCode(int capabitityCode) |
void |
setLength(int length) |
public BGP4Capability()
public BGP4Capability(byte[] bytes, int offset)
public void encodeHeader()
public abstract void encode()
public int getLength()
public void setLength(int length)
public int getCapabitityCode()
public void setCapabitityCode(int capabitityCode)
public int getCapabilityLength()
public void setCapabilityLength(int capabilityLength)
public byte[] getBytes()
public void setBytes(byte[] bytes)
public static int getCapalitityCode(byte[] bytes, int offset)
public static int getCapabilityLength(byte[] bytes, int offset)
Copyright © 2016. All rights reserved.