Friendly LWM2M client
InstOpObserver.h
Go to the documentation of this file.
1 #ifndef WPP_INST_OP_OBSERVER_H_
2 #define WPP_INST_OP_OBSERVER_H_
3 
4 #include "WppTypes.h"
5 
6 namespace wpp {
7 
8 class Instance;
9 
18 public:
19  virtual ~InstOpObserver() {};
24  virtual void resourceWrite(Instance &inst, const ResLink &resource) {};
29  virtual void resourceExecute(Instance &inst, const ResLink &resource) {};
30 };
31 
32 } // namespace wpp
33 
34 #endif /* WPP_INST_OP_OBSERVER_H_ */
The InstOpObserver class is an abstract base class that defines the interface for observing instance ...
virtual ~InstOpObserver()
virtual void resourceWrite(Instance &inst, const ResLink &resource)
Notifies observer immediately after write resource by server. Resource is already written during this...
virtual void resourceExecute(Instance &inst, const ResLink &resource)
Notifies observer immediately after execute resource by server. Resource is already executed during t...
Instance is interface class that implements manipulation with derived class resources....
Definition: Instance.h:40
The WppConnection class represents a connection interface for the Wpp library.
Definition: WppClient.cpp:14