RDK Documentation (Open Sourced RDK Components)
X_rdk_req_hdlr Class Reference

This class provides the interface for getting Device.X_RDK_<Parameter> client request handler information. More...

#include <x_rdk_req_handler.h>

Inheritance diagram for X_rdk_req_hdlr:
Inheritance graph
Collaboration diagram for X_rdk_req_hdlr:
Collaboration graph

Public Member Functions

virtual bool init ()
 This function is used to initialize. Currently not implemented. More...
 
virtual bool unInit ()
 This function is used to close all the instances of interface stack. More...
 
virtual int handleSetMsg (HOSTIF_MsgData_t *stMsgData)
 This function is used to handle the set message request of InterfaceStack Client. Currently not implemented. More...
 
virtual int handleGetMsg (HOSTIF_MsgData_t *stMsgData)
 This function is used to handle the get message request of InterfaceStack Client. Gets the total number of active interface stack entries or get the attributes of interface stack such as "HigherLayer" and "LowerLayer". More...
 
virtual int handleGetAttributesMsg (HOSTIF_MsgData_t *stMsgData)
 
virtual int handleSetAttributesMsg (HOSTIF_MsgData_t *stMsgData)
 

Static Public Member Functions

static msgHandlergetInstance ()
 

Static Private Attributes

static std::mutex m
 
static class X_rdk_req_hdlrpInstance = NULL
 

yes

This class provides the interface for getting Device.X_RDK_<Parameter> client request handler information.

x_rdk_req_handler stack client applications to communicate by sending Get and Set operation

Definition at line 59 of file x_rdk_req_handler.h.

Member Function Documentation

◆ init()

bool X_rdk_req_hdlr::init ( )
virtual

This function is used to initialize. Currently not implemented.

Returns
Returns the status of the operation.
Return values
trueif initialization is successful.
falseif initialization is not successful.

Implements msgHandler.

Definition at line 56 of file x_rdk_req_handler.cpp.

◆ unInit()

bool X_rdk_req_hdlr::unInit ( )
virtual

This function is used to close all the instances of interface stack.

Returns
Returns the status of the operation.
Return values
trueif it successfully close all the instances.
falseif not able to close all the instances.

Implements msgHandler.

Definition at line 70 of file x_rdk_req_handler.cpp.

◆ handleSetMsg()

int X_rdk_req_hdlr::handleSetMsg ( HOSTIF_MsgData_t stMsgData)
virtual

This function is used to handle the set message request of InterfaceStack Client. Currently not implemented.

Parameters
[out]stMsgDataTR-069 Host interface message request.
Returns
Returns the status of the operation.
Return values
OKif successful.
ERR_INTERNAL_ERRORif not able to set the data to the device.

Implements msgHandler.

Definition at line 88 of file x_rdk_req_handler.cpp.

◆ handleGetMsg()

int X_rdk_req_hdlr::handleGetMsg ( HOSTIF_MsgData_t stMsgData)
virtual

This function is used to handle the get message request of InterfaceStack Client. Gets the total number of active interface stack entries or get the attributes of interface stack such as "HigherLayer" and "LowerLayer".

Parameters
[out]stMsgDataTR-069 Host interface message request.
Returns
Returns the status of the operation.
Return values
OKif successful.
ERR_INTERNAL_ERRORif not able to set the data to the device.

Implements msgHandler.

Definition at line 121 of file x_rdk_req_handler.cpp.


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