RDK Documentation (Open Sourced RDK Components)
hostIf_InterfaceStackClient_ReqHandler.h
Go to the documentation of this file.
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 2016 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 hostIf_InterfaceStackClient_ReqHandler.h
22
* @brief The header file provides HostIf InterfaceStack client request handler information APIs.
23
*/
24
25
/**
26
* @defgroup TR-069HOSTIF_INTERFACESTACKCLIENT_REQHANDLER_CLASSES InterfaceStack Client RequestHandler Public Classes
27
* Describe the details about classes used in TR-069 InterfaceStackClient request handler.
28
* @ingroup TR-069HOSTIF_DEVICECLIENT_HANDLER
29
*/
30
31
/**
32
* @file hostIf_InterfaceStackClient_ReqHandler.h
33
*
34
* @brief host Interface for InterfaceStack Client Request Handler.
35
*
36
* This API defines the request handler operations for the InterfaceStack Client
37
*
38
* @author vejuturu@cisco.com
39
*
40
*/
41
42
/**
43
* Interface Stack Client interface is a platform agnostic IARM communication interface. It allows
44
* Interface stack client applications to communicate by sending Get and Set operation
45
*
46
*/
47
48
49
#ifndef HOSTIF_INTERFACESTACKCLIENT_REQHANDLER_H_
50
#define HOSTIF_INTERFACESTACKCLIENT_REQHANDLER_H_
51
52
#include "
hostIf_msgHandler.h
"
53
#include "hostIf_updateHandler.h"
54
55
/**
56
* @brief This class provides the interface for getting InterfaceStack client request handler information.
57
* @ingroup TR-069HOSTIF_INTERFACESTACKCLIENT_REQHANDLER_CLASSES
58
*/
59
class
InterfaceStackClientReqHandler
:
public
msgHandler
60
{
61
InterfaceStackClientReqHandler
() {};
62
~
InterfaceStackClientReqHandler
() {};
63
64
static
class
InterfaceStackClientReqHandler
*pInstance;
65
static
updateCallback mUpdateCallback;
66
static
int
curNumOfEntriesInInterfaceStack;
67
68
public
:
69
virtual
bool
init
();
70
virtual
bool
unInit
();
71
virtual
int
handleSetMsg
(
HOSTIF_MsgData_t
*stMsgData);
72
virtual
int
handleGetMsg
(
HOSTIF_MsgData_t
*stMsgData);
73
virtual
int
handleGetAttributesMsg(
HOSTIF_MsgData_t
*stMsgData);
74
virtual
int
handleSetAttributesMsg(
HOSTIF_MsgData_t
*stMsgData);
75
static
msgHandler
* getInstance();
76
static
void
registerUpdateCallback(updateCallback cb);
77
static
void
checkForUpdates();
78
static
void
reset();
79
80
};
81
82
#endif
/* HOSTIF_INTERFACESTACKCLIENT_REQHANDLER_H_ */
83
/* End of HOSTIF_INTERFACESTACKCLIENT_REQHANDLER_H_ doxygen group */
84
/**
85
* @}
86
*/
InterfaceStackClientReqHandler::handleSetMsg
virtual int handleSetMsg(HOSTIF_MsgData_t *stMsgData)
This function is used to handle the set message request of InterfaceStack Client. Currently not imple...
Definition:
hostIf_InterfaceStackClient_ReqHandler.cpp:101
InterfaceStackClientReqHandler::handleGetMsg
virtual int handleGetMsg(HOSTIF_MsgData_t *stMsgData)
This function is used to handle the get message request of InterfaceStack Client. Gets the total numb...
Definition:
hostIf_InterfaceStackClient_ReqHandler.cpp:124
_HostIf_MsgData_t
Definition:
hostIf_tr69ReqHandler.h:170
InterfaceStackClientReqHandler
This class provides the interface for getting InterfaceStack client request handler information.
Definition:
hostIf_InterfaceStackClient_ReqHandler.h:59
msgHandler
Definition:
hostIf_msgHandler.h:103
hostIf_msgHandler.h
The header file provides HostIf message handler information APIs.
InterfaceStackClientReqHandler::init
virtual bool init()
This function is used to initialize. Currently not implemented.
Definition:
hostIf_InterfaceStackClient_ReqHandler.cpp:66
InterfaceStackClientReqHandler::unInit
virtual bool unInit()
This function is used to close all the instances of interface stack.
Definition:
hostIf_InterfaceStackClient_ReqHandler.cpp:80
components
generic
tr69hostif
src
hostif
handlers
include
hostIf_InterfaceStackClient_ReqHandler.h
Generated on Thu Feb 9 2023 06:32:34 for RDK Documentation (Open Sourced RDK Components) by
1.8.17