11 #ifndef BGP_OUT_HANDLEER_H_ 12 #define BGP_OUT_HANDLEER_H_ 34 virtual bool handleOut(
const uint8_t *buffer,
size_t length) = 0;
42 virtual void notifyStateChange(__attribute__((unused))
int old_state, __attribute__((unused))
int new_state) {}
60 #endif // BGP_OUT_HANDLEER_H_ The BGP FSM output handler.
virtual bool handleOut(const uint8_t *buffer, size_t length)=0
The output implementation.
virtual void notifyStateChange(__attribute__((unused)) int old_state, __attribute__((unused)) int new_state)
State change notification. Will be call if FSM state changed.