libbgp
0.6
A C++ BGP Library.
|
The BGP FSM output handler. More...
#include <bgp-out-handler.h>
Public Member Functions | |
virtual bool | handleOut (const uint8_t *buffer, size_t length)=0 |
The output implementation. More... | |
virtual void | notifyStateChange (__attribute__((unused)) int old_state, __attribute__((unused)) int new_state) |
State change notification. Will be call if FSM state changed. More... | |
The BGP FSM output handler.
BgpOutHandler is used by BGP FSM to write BGP message to peer.
Definition at line 23 of file bgp-out-handler.h.
|
pure virtual |
The output implementation.
buffer | Pointer to the outgoing message buffer. |
length | Length of the message. |
Implemented in libbgp::FdOutHandler.
|
inlinevirtual |
State change notification. Will be call if FSM state changed.
old_state | Old state. |
new_state | New state. |
Definition at line 42 of file bgp-out-handler.h.