Qore DataProvider Module Reference 2.7.3
Loading...
Searching...
No Matches
DataProvider::Observer Class Referenceabstract

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

#include <Observer.qc.dox.h>

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