MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
Namespaces | Functions
triggers.h File Reference
#include <string>

Go to the source code of this file.

Namespaces

 Triggers
 

Functions

bool Triggers::doTrigger (const std::string type)
 handles triggers for a specific trigger event type, without a payload, server-wide More...
 
bool Triggers::doTrigger (const std::string type, const std::string &payload)
 handles triggers for a specific trigger event type, with a payload, server-wide More...
 
bool Triggers::doTrigger (const std::string type, const std::string &payload, const std::string &streamName)
 handles triggers for a specific trigger event type, with a payload, for a specified stream, and/or server-wide More...
 
bool Triggers::doTrigger (const std::string type, const std::string &payload, const std::string &streamName, bool dryRun, std::string &response)
 
std::string Triggers::handleTrigger (const std::string &trigger, const std::string &value, const std::string &payload, int sync)
 Handles a trigger by sending a payload to a destination. More...
 
bool Triggers::shouldTrigger (const std::string type)
 Checks if one or more triggers are defined that should be handled for all streams (for a trigger event type) More...
 
bool Triggers::shouldTrigger (const std::string type, const std::string &streamName)
 returns true if a trigger of the specified type should be handled for a specified stream (, or entire server) More...