public class BgpKeepaliveMsgVer4 extends Object implements BgpKeepaliveMsg
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
static byte[] |
marker |
static int |
MARKER_LENGTH |
static BgpType |
MSG_TYPE |
static int |
PACKET_MINIMUM_LENGTH |
static byte |
PACKET_VERSION |
static org.onosproject.bgpio.protocol.ver4.BgpKeepaliveMsgVer4.Reader |
READER |
| Constructor and Description |
|---|
BgpKeepaliveMsgVer4()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BgpHeader |
getHeader()
Returns BGP Header of BGP Message.
|
BgpType |
getType()
Returns BGP Type of BGP Message.
|
BgpVersion |
getVersion()
Returns version of BGP Message.
|
String |
toString() |
void |
writeTo(org.jboss.netty.buffer.ChannelBuffer cb)
Writes byte streams of messages to channel buffer.
|
protected static final org.slf4j.Logger log
public static final byte PACKET_VERSION
public static final int PACKET_MINIMUM_LENGTH
public static final int MARKER_LENGTH
public static final BgpType MSG_TYPE
public static byte[] marker
public static final org.onosproject.bgpio.protocol.ver4.BgpKeepaliveMsgVer4.Reader READER
public void writeTo(org.jboss.netty.buffer.ChannelBuffer cb)
WriteablewriteTo in interface BgpKeepaliveMsgwriteTo in interface BgpMessagewriteTo in interface Writeablecb - channelBufferpublic BgpVersion getVersion()
BgpMessagegetVersion in interface BgpKeepaliveMsggetVersion in interface BgpMessagepublic BgpType getType()
BgpMessagegetType in interface BgpKeepaliveMsggetType in interface BgpMessagepublic BgpHeader getHeader()
BgpMessagegetHeader in interface BgpKeepaliveMsggetHeader in interface BgpMessage