public class BgpKeepaliveMsgVer4 extends java.lang.Object implements BgpKeepaliveMsg
| Modifier and Type | Field and Description |
|---|---|
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.
|
java.lang.String |
toString() |
void |
writeTo(org.jboss.netty.buffer.ChannelBuffer cb)
Writes byte streams of messages to channel buffer.
|
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 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 BgpMessagepublic java.lang.String toString()
toString in class java.lang.Object