1#if !defined(Kurento_Event_hxx)
2#define Kurento_Event_hxx
7#include "cajun/json/elements.h"
17 static std::shared_ptr<Event>
make_event(
const std::string&
eventType,
const json::Object& message);
22 Event(
const std::string& name);
46 const std::string&
getId()
const {
return mId; };
49 std::string mCandidate;
50 unsigned int mLineIndex;
142typedef std::function<
void (std::shared_ptr<Event>
event) >
virtual ~EventContinuation()
virtual void onEvent(std::shared_ptr< Event > event) override
EventContinuation(ContinuationEvent c)
virtual void onEvent(std::shared_ptr< Event > event)=0
static std::shared_ptr< Event > make_event(const std::string &eventType, const json::Object &message)
friend std::ostream & operator<<(std::ostream &strm, const Event &e)
static const std::string EVENT_NAME
virtual ~OnConnectionStateChangedEvent()
virtual ~OnDataChannelOpenEvent()
static const std::string EVENT_NAME
static const std::string EVENT_NAME
unsigned int getLineIndex() const
const std::string & getId() const
const std::string & getCandidate() const
static const std::string EVENT_NAME
virtual ~OnIceCandidateFoundEvent()
static const std::string EVENT_NAME
virtual ~OnIceGatheringDoneEvent()
static const std::string EVENT_NAME
virtual ~OnKeyframeRequiredEvent()
This class is used in the logging subsystem to identify logging messages generated from the Kurento c...
std::function< void(std::shared_ptr< Event > event) > ContinuationEvent
std::ostream & operator<<(std::ostream &strm, const Event &e)