RDK Documentation (Open Sourced RDK Components)
hostIf_XrdkCentralT2_ReqHandler.h
1 /*
2  * If not stated otherwise in this file or this component's Licenses.txt file the
3  * following copyright and licenses apply:
4  *
5  * Copyright 2020 RDK Management
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18 */
19 
20 /**
21  * @file XrdkCentralT2_ReqHandler.h
22  * @brief The header file provides Telemetry 2.0 Data Model request handler information APIs.
23  */
24 
25 /**
26  * @defgroup Telemetry2.0 DML RequestHandler Public Classes
27  * Describe the details about classes used in TR-069 Telemetry dml request handler.
28  */
29 
30 
31 /**
32 * @defgroup tr69hostif
33 * @{
34 * @defgroup hostif
35 * @{
36 **/
37 
38 
39 #ifndef _X_RDK_CENTRAL_T2_DML_REQHANDLER_H_
40 #define _X_RDK_CENTRAL_T2_DML_REQHANDLER_H_
41 
42 #include "hostIf_msgHandler.h"
43 #include "hostIf_updateHandler.h"
44 
45 /**
46  * @brief This class provides the interface for getting Telemetry DML request handler information.
47  * @ingroup TELEMETRYG_DML_REQHANDLER_CLASSES
48  */
49 class XRdkCentralT2 : public msgHandler
50 {
51 private:
52  XRdkCentralT2() {};
53  ~XRdkCentralT2() {};
54  static class XRdkCentralT2 *pInstance;
55 
56 public:
57  virtual bool init();
58  virtual bool unInit();
59  virtual int handleSetMsg(HOSTIF_MsgData_t *stMsgData);
60  virtual int handleGetMsg(HOSTIF_MsgData_t *stMsgData);
61  virtual int handleGetAttributesMsg(HOSTIF_MsgData_t *stMsgData);
62  virtual int handleSetAttributesMsg(HOSTIF_MsgData_t *stMsgData);
63  static msgHandler* getInstance();
64 };
65 
66 #endif /* _X_RDK_CENTRAL_T2_DML_REQHANDLER_H_ */
67 /* End of _X_RDK_CENTRAL_T2_DML_REQHANDLER_H_ doxygen group */
68 /**
69  * @}
70  */
71 
72 
73 /** @} */
74 /** @} */
_HostIf_MsgData_t
Definition: hostIf_tr69ReqHandler.h:170
XRdkCentralT2::handleSetMsg
virtual int handleSetMsg(HOSTIF_MsgData_t *stMsgData)
This function use to handle the set message request of telemetry multiprofile . This will be a pass t...
Definition: hostIf_XrdkCentralT2_ReqHandler.cpp:87
XRdkCentralT2::unInit
virtual bool unInit()
This function is used to close all the instances of telemetry service.
Definition: hostIf_XrdkCentralT2_ReqHandler.cpp:68
XRdkCentralT2::handleGetMsg
virtual int handleGetMsg(HOSTIF_MsgData_t *stMsgData)
This function use to handle the get message request of telemetry multiprofile . This will be a pass t...
Definition: hostIf_XrdkCentralT2_ReqHandler.cpp:148
msgHandler
Definition: hostIf_msgHandler.h:103
hostIf_msgHandler.h
The header file provides HostIf message handler information APIs.
XRdkCentralT2::init
virtual bool init()
This function is use to initialize. Currently not implemented.
Definition: hostIf_XrdkCentralT2_ReqHandler.cpp:53
XRdkCentralT2
This class provides the interface for getting Telemetry DML request handler information.
Definition: hostIf_XrdkCentralT2_ReqHandler.h:49