Qore FilePoller Module Reference 1.0.1
Loading...
Searching...
No Matches
FilePoller::FileDelayedPollerDataProvider Class Reference

Event-based data provider for file polling events. More...

#include <FilePoller.qm.dox.h>

Inheritance diagram for FilePoller::FileDelayedPollerDataProvider:
[legend]

Public Member Methods

 constructor (*hash< auto > options)
 Creates the object from constructor options.
 
 observersReady ()
 Called when all observers have been added to the object. More...
 
- Public Member Methods inherited from FilePoller::FilePollerDataProviderBase
 constructor (*hash< auto > options)
 Creates the object from constructor options.
 
*string getDesc ()
 Returns the data provider description.
 

Public Attributes

const ProviderInfo
 Provider info.
 
- Public Attributes inherited from FilePoller::FilePollerDataProviderBase
const ConstructorOptions
 Constructor options.
 

Additional Inherited Members

- Private Member Methods inherited from FilePoller::FilePollerDataProviderBase
hash< string, hash< DataProviderMessageInfo > > getEventTypesImpl ()
 Returns a hash of all supported event types. More...
 
- Private Attributes inherited from FilePoller::FilePollerDataProviderBase
EmbeddedFilePoller poller
 The file poller itself.
 

Detailed Description

Event-based data provider for file polling events.

Note that this class will continue to output all matching files in the given folder until they are removed.

In the assumed scenario, matches files are removed by a single observer in the first notification event

The event ID raised for file events is "file-event" (see EVENT_FILE)

Member Function Documentation

◆ observersReady()

FilePoller::FileDelayedPollerDataProvider::observersReady ( )
virtual

Called when all observers have been added to the object.

This method is meant to trigger event generation

Implements DataProvider::DelayedObservable.