Fawkes API
Fawkes Development Version
|
Class holding all information about an EventTrigger. More...
#include <event_trigger.h>
Public Member Functions | |
EventTrigger (mongocxx::change_stream &&change_stream, const bsoncxx::document::view &oplog_query, const std::string &ns, const boost::function< void(bsoncxx::document::view)> &callback) | |
Constructor. More... | |
Friends | |
class | EventTriggerManager |
Information access for Manager. More... | |
Class holding all information about an EventTrigger.
Definition at line 31 of file event_trigger.h.
EventTrigger::EventTrigger | ( | mongocxx::change_stream && | change_stream, |
const bsoncxx::document::view & | filter_query, | ||
const std::string & | ns, | ||
const boost::function< void(bsoncxx::document::view)> & | callback | ||
) |
Constructor.
change_stream | The change stream for the collection, already moved to the end |
filter_query | The query to use for filtering the change stream |
ns | namespace of the trigger, format db.collection |
callback | Reference to callback function |
Definition at line 39 of file event_trigger.cpp.
|
friend |
Information access for Manager.
Definition at line 34 of file event_trigger.h.