![]() |
Qore FilePoller Module Reference 2.0
|
Event-based data provider for file events. More...
Public Member Functions | |
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 | ConstructorOptions = ... |
Constructor options. | |
Protected Member Functions | |
hash< string, hash< DataProviderMessageInfo > > | getEventTypesImpl () |
Returns a hash of all supported event types. | |
Protected Attributes | |
EmbeddedFilePoller | poller |
The file poller itself. | |
Event-based data provider for file 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
|
protected |
Returns a hash of all supported event types.
FilePoller::FilePollerDataProviderBase::updateConnectionObjects | ( | object | conn, |
object | connobj ) |
Update any connection used by the data provider.
conn | the new AbstractConnection object |
connobj | the new connection object itself (ex: RestClient for a "rest" connection) |