Event-based data provider for ServerSentEvent client-side events.
Definition ServerSentEventClientDataProviderBase.qc.dox.h:30
deregister()
Dergister a child data provider.
static hash< auto > getOptionsFromTemplate(hash< auto > template_options, *hash< auto > options)
Returns options from a template.
const RequiredConstructorOptions
Required constructor option combinations.
Definition ServerSentEventClientDataProviderBase.qc.dox.h:42
setLogger(*LoggerInterface logger)
Accepts a LoggerInterface object for logging (or clears it)
const ApiClasses
Registered API classes.
Definition ServerSentEventClientDataProviderBase.qc.dox.h:45
const ConstructorOptions
Constructor options.
Definition ServerSentEventClientDataProviderBase.qc.dox.h:38
hash< string, hash< DataProviderMessageInfo > > getEventTypesImpl()
Returns a hash of all supported event types.
QueuedObserver queued_observer
Queued observer.
Definition ServerSentEventClientDataProviderBase.qc.dox.h:59
*hash< DataProviderConnectionInfo > getConnectionInfoImpl()
Returns connection info.
observersReady()
Called when all observers have been added to the object.
ServerSentEventClientWaitForMessageDataProvider child
Wait for message API data provider.
Definition ServerSentEventClientDataProviderBase.qc.dox.h:56
bool deregisterObserver(object observer)
The method deregisters the given observer.
registerObserver(object observer,...)
The method registers the given observer.
bool isConnected()
Returns True if the object is currently connected.
Mutex m()
Mutex for wait for message child data provider handling.
const ProviderInfo
Provider info.
Definition ServerSentEventClientDataProviderBase.qc.dox.h:34
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names.
*AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or nothing if the given child is unknown.
ServerSentEventClient client
The SSE client itself.
Definition ServerSentEventClientDataProviderBase.qc.dox.h:50
constructor(*hash< auto > options)
Creates the object from constructor options.
Queue getQueue()
Returs the child message queue.
reconnect()
Initiate a reconnect action on the client.
ServerSentEvent client wait for message from server API data provider.
Definition ServerSentEventClientWaitForMessageDataProvider.qc.dox.h:28
the ServerSentEventClient namespace contains all the definitions in the ServerSentEventClient module
Definition ServerSentEventClient.qc.dox.h:26