This subclass of JsonHandler processes the JSON requests for the Events
namespace. More...
Header: | #include <EventHandler> |
Inherits: | JsonHandler |
EventHandler(QObject * parent = 0) |
virtual QString | name() const |
void | EventTriggered(const QVariantMap & params) |
This subclass of JsonHandler processes the JSON requests for the Events
namespace.
This JsonHandler will be created in the JsonRPCServer and used to handle JSON-RPC requests for the Events
namespace of the API.
See also Event, JsonHandler, and JsonRPCServer.
Constructs a new EventHandler with the given parent.
[signal]
void EventHandler::EventTriggered(const QVariantMap & params)This signal is emitted to the API notifications when an Event triggered. The params contain the map for the notification.
[virtual]
QString EventHandler::name() constReimplemented from JsonHandler::name().
Returns the name of the EventHandler. In this case Events.