public class BGP4Keepalive extends BGP4Message
From RFC 4271, Section 4.4
RFC 4271. KEEPALIVE Message Format BGP does not use any TCP-based, keep-alive mechanism to determine if peers are reachable. Instead, KEEPALIVE messages are exchanged between peers often enough not to cause the Hold Timer to expire. A reasonable maximum time between KEEPALIVE messages would be one third of the Hold Time interval. KEEPALIVE messages MUST NOT be sent more frequently than one per second. An implementation MAY adjust the rate at which it sends KEEPALIVE messages as a function of the Hold Time interval. If the negotiated Hold Time interval is zero, then periodic KEEPALIVE messages MUST NOT be sent. A KEEPALIVE message consists of only the message header and has a length of 19 octets.BGPHeaderLength, BGPMarkerLength, log, messageBytes
Constructor and Description |
---|
BGP4Keepalive()
Create new Keepalive
|
BGP4Keepalive(byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
void |
encode() |
encodeHeader, getBGPHeaderLength, getBGPMarkerLength, getBytes, getLength, getMessageType, getMessageType, setMessageLength, setMessageType
Copyright © 2016. All rights reserved.