![]() |
Qore FilePoller Module Reference 2.0
|
Event-based data provider for file polling events. More...
#include <FilePoller.qm.dox.h>
Public Member Methods | |
constructor (*hash< auto > options) | |
Creates the object from constructor options. | |
observersReady () | |
Called when all observers have been added to the object. | |
stopEvents () | |
Called to stop generating events. | |
![]() | |
constructor (*hash< auto > options) | |
Creates the object from constructor options. | |
*string | getDesc () |
Returns the data provider description. | |
updateConnectionObjects (object conn, object connobj) | |
Update any connection used by the data provider. | |
Public Attributes | |
const | ProviderInfo = ... |
Provider info. | |
![]() | |
const | ConstructorOptions = ... |
Constructor options. | |
Additional Inherited Members | |
![]() | |
hash< string, hash< DataProviderMessageInfo > > | getEventTypesImpl () |
Returns a hash of all supported event types. | |
![]() | |
EmbeddedFilePoller | poller |
The file poller itself. | |
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)
FilePoller::FileDelayedPollerDataProvider::observersReady | ( | ) |
Called when all observers have been added to the object.
This method is meant to trigger event generation
FilePoller::FileDelayedPollerDataProvider::stopEvents | ( | ) |
Called to stop generating events.
Stops polling for new files