FD.io VPP  v19.08.1-401-g8e4ed521a
Vector Packet Processing
VOM::dhcp_client::event_listener Class Referenceabstract

A class that listens to DHCP Events. More...

+ Collaboration diagram for VOM::dhcp_client::event_listener:

Public Member Functions

 event_listener ()
 Constructor. More...
 
virtual void handle_dhcp_event (std::shared_ptr< lease_t > e)=0
 listener's virtual function invoked when a DHCP event is available to read More...
 
HW::item< bool > & status ()
 Return the HW::item associated with this command. More...
 

Protected Attributes

HW::item< boolm_status
 The HW::item associated with this command. More...
 

Detailed Description

A class that listens to DHCP Events.

Definition at line 83 of file dhcp_client.hpp.

Constructor & Destructor Documentation

◆ event_listener()

VOM::dhcp_client::event_listener::event_listener ( )

Constructor.

Definition at line 235 of file dhcp_client.cpp.

Member Function Documentation

◆ handle_dhcp_event()

virtual void VOM::dhcp_client::event_listener::handle_dhcp_event ( std::shared_ptr< lease_t e)
pure virtual

listener's virtual function invoked when a DHCP event is available to read

+ Here is the caller graph for this function:

◆ status()

HW::item< bool > & VOM::dhcp_client::event_listener::status ( )

Return the HW::item associated with this command.

Definition at line 241 of file dhcp_client.cpp.

+ Here is the call graph for this function:

Field Documentation

◆ m_status

HW::item<bool> VOM::dhcp_client::event_listener::m_status
protected

The HW::item associated with this command.

Definition at line 106 of file dhcp_client.hpp.


The documentation for this class was generated from the following files: