libbgp
0.6
A C++ BGP Library.
|
The FdOutHandler class. More...
#include <fd-out-handler.h>
Public Member Functions | |
FdOutHandler (int fd) | |
Construct a new Fd Out Handler:: Fd Out Handler object. More... | |
bool | handleOut (const uint8_t *buffer, size_t length) |
The output implementation. More... | |
Public Member Functions inherited from libbgp::BgpOutHandler | |
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 FdOutHandler class.
FdOutHandler is a simple BgpOutHandler that write output to a file descriptor
Definition at line 23 of file fd-out-handler.h.
libbgp::FdOutHandler::FdOutHandler | ( | int | fd | ) |
Construct a new Fd Out Handler:: Fd Out Handler object.
fd | File descriptor to write to. |
Definition at line 21 of file fd-out-handler.cc.
|
virtual |
The output implementation.
buffer | Pointer to the outgoing message buffer. |
length | Length of the message. |
Implements libbgp::BgpOutHandler.
Definition at line 25 of file fd-out-handler.cc.