MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
Namespaces | Functions | Variables
triggers.cpp File Reference
#include <string.h>
#include "triggers.h"
#include "http_parser.h"
#include "defines.h"
#include "procs.h"
#include "shared_memory.h"
#include "bitfields.h"

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...
 

Variables

static std::string Triggers::empty