FD.io VPP
v18.04-17-g3a0d853
Vector Packet Processing
|
A class that listens to interface Stats. More...
Public Member Functions | |
stat_listener () | |
Default Constructor. More... | |
virtual void | handle_interface_stat (interface_cmds::stats_enable_cmd *cmd)=0 |
Virtual function called on the listener when the command has data ready to process. More... | |
HW::item< bool > & | status () |
Return the HW::item representing the status. More... | |
Protected Attributes | |
HW::item< bool > | m_status |
The status of the subscription. More... | |
A class that listens to interface Stats.
Definition at line 414 of file interface.hpp.
VOM::interface::stat_listener::stat_listener | ( | ) |
Default Constructor.
Definition at line 111 of file interface.cpp.
|
pure virtual |
Virtual function called on the listener when the command has data ready to process.
Return the HW::item representing the status.
Definition at line 117 of file interface.cpp.
The status of the subscription.
Definition at line 438 of file interface.hpp.