Fawkes API
Fawkes Development Version
|
Class holding all information about an EventTrigger. More...
#include <event_trigger.h>
Public Member Functions | |
EventTrigger (mongo::Query oplog_query, const std::string &ns, const boost::function< void(mongo::BSONObj)> &callback) | |
Constructor. More... | |
Friends | |
class | EventTriggerManager |
Information access for Manager. More... | |
Class holding all information about an EventTrigger.
Definition at line 32 of file event_trigger.h.
EventTrigger::EventTrigger | ( | mongo::Query | oplog_query, |
const std::string & | ns, | ||
const boost::function< void(mongo::BSONObj)> & | callback | ||
) |
Constructor.
oplog_query | The Query on the oplog, which defines which database update invokes the trigger |
ns | namespace of the trigger, format db.collection |
callback | Reference to callback function |
Definition at line 38 of file event_trigger.cpp.
|
friend |
Information access for Manager.
Definition at line 35 of file event_trigger.h.