Qore DataProvider Module Reference  2.7.1
DataProvider::Observer Class Referenceabstract

This abstract class represents an observer that will get notified by the subject it observes. More...

Public Member Methods

abstract update (string event_id, hash< auto > data_)
 This method is called when an event is raised. More...
 

Detailed Description

This abstract class represents an observer that will get notified by the subject it observes.

Member Function Documentation

◆ update()

abstract DataProvider::Observer::update ( string  event_id,
hash< auto >  data_ 
)
pure virtual

This method is called when an event is raised.

Parameters
event_idunique ID identifying an event type or class
data_the data generated by the Observable event source