libhomegear-base  0.7
Base library for Homegear and Homegear family modules.
BaseLib::Systems::IFamilyEventSink Class Referenceabstract

#include <IDeviceFamily.h>

Inheritance diagram for BaseLib::Systems::IFamilyEventSink:
BaseLib::IEventSinkBase

Public Member Functions

virtual void onAddWebserverEventHandler (BaseLib::Rpc::IWebserverEventSink *eventHandler, std::map< int32_t, PEventHandler > &eventHandlers)=0
 
virtual void onRemoveWebserverEventHandler (std::map< int32_t, PEventHandler > &eventHandlers)=0
 
virtual void onRPCEvent (std::string source, uint64_t id, int32_t channel, std::string deviceAddress, std::shared_ptr< std::vector< std::string >> valueKeys, std::shared_ptr< std::vector< std::shared_ptr< Variable >>> values)=0
 
virtual void onRPCUpdateDevice (uint64_t id, int32_t channel, std::string address, int32_t hint)=0
 
virtual void onRPCNewDevices (std::vector< uint64_t > &ids, std::shared_ptr< Variable > deviceDescriptions)=0
 
virtual void onRPCDeleteDevices (std::vector< uint64_t > &ids, std::shared_ptr< Variable > deviceAddresses, std::shared_ptr< Variable > deviceInfo)=0
 
virtual void onEvent (std::string source, uint64_t peerID, int32_t channel, std::shared_ptr< std::vector< std::string >> variables, std::shared_ptr< std::vector< std::shared_ptr< Variable >>> values)=0
 
virtual void onServiceMessageEvent (const PServiceMessage &serviceMessage)=0
 
virtual void onRunScript (ScriptEngine::PScriptInfo &scriptInfo, bool wait)=0
 
virtual BaseLib::PVariable onInvokeRpc (std::string &methodName, BaseLib::PArray &parameters)=0
 
virtual int32_t onCheckLicense (int32_t moduleId, int32_t familyId, int32_t deviceId, const std::string &licenseKey)=0
 
virtual uint64_t onGetRoomIdByName (std::string &name)=0
 
virtual void onDecryptDeviceDescription (int32_t moduleId, const std::vector< char > &input, std::vector< char > &output)=0
 
- Public Member Functions inherited from BaseLib::IEventSinkBase
 IEventSinkBase ()
 
virtual ~IEventSinkBase ()
 

Member Function Documentation

§ onAddWebserverEventHandler()

virtual void BaseLib::Systems::IFamilyEventSink::onAddWebserverEventHandler ( BaseLib::Rpc::IWebserverEventSink eventHandler,
std::map< int32_t, PEventHandler > &  eventHandlers 
)
pure virtual

§ onCheckLicense()

virtual int32_t BaseLib::Systems::IFamilyEventSink::onCheckLicense ( int32_t  moduleId,
int32_t  familyId,
int32_t  deviceId,
const std::string &  licenseKey 
)
pure virtual

§ onDecryptDeviceDescription()

virtual void BaseLib::Systems::IFamilyEventSink::onDecryptDeviceDescription ( int32_t  moduleId,
const std::vector< char > &  input,
std::vector< char > &  output 
)
pure virtual

§ onEvent()

virtual void BaseLib::Systems::IFamilyEventSink::onEvent ( std::string  source,
uint64_t  peerID,
int32_t  channel,
std::shared_ptr< std::vector< std::string >>  variables,
std::shared_ptr< std::vector< std::shared_ptr< Variable >>>  values 
)
pure virtual

§ onGetRoomIdByName()

virtual uint64_t BaseLib::Systems::IFamilyEventSink::onGetRoomIdByName ( std::string &  name)
pure virtual

§ onInvokeRpc()

virtual BaseLib::PVariable BaseLib::Systems::IFamilyEventSink::onInvokeRpc ( std::string &  methodName,
BaseLib::PArray parameters 
)
pure virtual

§ onRemoveWebserverEventHandler()

virtual void BaseLib::Systems::IFamilyEventSink::onRemoveWebserverEventHandler ( std::map< int32_t, PEventHandler > &  eventHandlers)
pure virtual

§ onRPCDeleteDevices()

virtual void BaseLib::Systems::IFamilyEventSink::onRPCDeleteDevices ( std::vector< uint64_t > &  ids,
std::shared_ptr< Variable deviceAddresses,
std::shared_ptr< Variable deviceInfo 
)
pure virtual

§ onRPCEvent()

virtual void BaseLib::Systems::IFamilyEventSink::onRPCEvent ( std::string  source,
uint64_t  id,
int32_t  channel,
std::string  deviceAddress,
std::shared_ptr< std::vector< std::string >>  valueKeys,
std::shared_ptr< std::vector< std::shared_ptr< Variable >>>  values 
)
pure virtual

§ onRPCNewDevices()

virtual void BaseLib::Systems::IFamilyEventSink::onRPCNewDevices ( std::vector< uint64_t > &  ids,
std::shared_ptr< Variable deviceDescriptions 
)
pure virtual

§ onRPCUpdateDevice()

virtual void BaseLib::Systems::IFamilyEventSink::onRPCUpdateDevice ( uint64_t  id,
int32_t  channel,
std::string  address,
int32_t  hint 
)
pure virtual

§ onRunScript()

virtual void BaseLib::Systems::IFamilyEventSink::onRunScript ( ScriptEngine::PScriptInfo scriptInfo,
bool  wait 
)
pure virtual

§ onServiceMessageEvent()

virtual void BaseLib::Systems::IFamilyEventSink::onServiceMessageEvent ( const PServiceMessage serviceMessage)
pure virtual

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