EnOcean Link
1.14.0.0
Middleware to Connect EnOcean easily to other Projects
|
The minimal Interface for an eoWatcher class. More...
#include <eoIWatcher.h>
Public Member Functions | |
virtual uint32_t | CheckSecurity (eoDevice const *const device, eoTelegram const &tel) |
checks the Security of a Device after Receiving a telegram. More... | |
virtual uint8_t | Serialize (eoArchive &arch) |
Public Attributes | |
uint8_t | type |
Type of the eoIWatcher, this is used for the serialization. | |
The minimal Interface for an eoWatcher class.
The CheckSecurity is called inside Gateway and stored as internal variable. This Interface allows you to implement an own security check algorithm which is called for every received telegram. The function eoIWatcher::CheckSecurity(eoDevice const * const device,eoTelegram const &tel) is always called in the Gateway after receiving a telegram. The result of the function can be accessed using the eoGateway::GetSecWatchResult()
|
virtual |
|
virtual |
Serialization Function which will be called by the eoStorageManager This function will be called by the eoArchive(inside of the eoStorageManager) and allows the class to be Serialized.
&arch | Archive where to Load or to Store. |
Implements eoISerialize.
Reimplemented in eoWatcher.