Zigbee Protocol Controller 1.6.0
zigpc::gateway::RequestQueue::Entry Class Referenceabstract

Base class used in the RequestQueue to invoke ZigbeeHost API calls. More...

#include <zigpc_gateway_request_queue.hpp>

Inheritance diagram for zigpc::gateway::RequestQueue::Entry:
zigpc::gateway::AddOTAImageRequest zigpc::gateway::BindingRequestRequest zigpc::gateway::DeviceRemoveRequest zigpc::gateway::DiscoverDeviceRequest zigpc::gateway::DiscoverEndpointRequest zigpc::gateway::NetworkInitRequest zigpc::gateway::ZCLConfigureReportingRequest zigpc::gateway::ZCLFrameMulticastRequest zigpc::gateway::ZCLFrameUnicastRequest

Public Member Functions

 Entry (const char *label)
 
virtual ~Entry ()=default
 
const char * getLabel (void) const
 Get the Name of the call. More...
 
size_t getSendAttempts (void) const
 Get the number of attempts made to send the message. More...
 
void incrementSendAttempt (void)
 Increment send attempts. More...
 
virtual sl_status_t invoke (void)=0
 Invoke/execute the ZigbeeHost call using the infomation stored in the object. More...
 

Private Attributes

const char * label
 
size_t send_attempts = 0U
 

Detailed Description

Base class used in the RequestQueue to invoke ZigbeeHost API calls.

Constructor & Destructor Documentation

◆ Entry()

zigpc::gateway::RequestQueue::Entry::Entry ( const char *  label)
explicit

◆ ~Entry()

virtual zigpc::gateway::RequestQueue::Entry::~Entry ( )
virtualdefault

Member Function Documentation

◆ getLabel()

const char * zigpc::gateway::RequestQueue::Entry::getLabel ( void  ) const

Get the Name of the call.

Returns
const char*

◆ getSendAttempts()

size_t zigpc::gateway::RequestQueue::Entry::getSendAttempts ( void  ) const

Get the number of attempts made to send the message.

Returns
size_t

◆ incrementSendAttempt()

void zigpc::gateway::RequestQueue::Entry::incrementSendAttempt ( void  )

Increment send attempts.

◆ invoke()

Member Data Documentation

◆ label

const char* zigpc::gateway::RequestQueue::Entry::label
private

◆ send_attempts

size_t zigpc::gateway::RequestQueue::Entry::send_attempts = 0U
private

< Call label Times tried to successfully send the call


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