client-cpp  0.10.0
kaa::IEventFamily Class Referenceabstract

#include <IEventFamily.hpp>

Public Member Functions

virtual const FQNListgetSupportedEventClassFQNs ()=0
 
virtual void onGenericEvent (const std::string &fqn, const std::vector< std::uint8_t > &data, const std::string &source)=0
 
virtual ~IEventFamily ()
 

Detailed Description

Interface for Event Family. Each event family should be accessed through EventFamilyFactory

Definition at line 36 of file IEventFamily.hpp.

Constructor & Destructor Documentation

virtual kaa::IEventFamily::~IEventFamily ( )
inlinevirtual

Definition at line 56 of file IEventFamily.hpp.

Member Function Documentation

virtual const FQNList& kaa::IEventFamily::getSupportedEventClassFQNs ( )
pure virtual

Returns set of supported incoming events in event family

Returns
set of supported events presented as set event fully qualified names
virtual void kaa::IEventFamily::onGenericEvent ( const std::string &  fqn,
const std::vector< std::uint8_t > &  data,
const std::string &  source 
)
pure virtual

Generic handler of event received from server.

Parameters
eventFQNFully qualified name of an event
dataEvent data
sourceEvent source

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