• EventHandler
  • EventHandler Class

    (nymeaserver::EventHandler)

    This subclass of JsonHandler processes the JSON requests for the Events namespace. More...

    Header: #include <EventHandler>
    Inherits: JsonHandler

    Public Functions

    EventHandler(QObject * parent = 0)

    Reimplemented Public Functions

    virtual QString name() const

    Signals

    void EventTriggered(const QVariantMap & params)

    Additional Inherited Members

    Detailed Description

    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.

    Member Function Documentation

    EventHandler::EventHandler(QObject * parent = 0)

    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() const

    Reimplemented from JsonHandler::name().

    Returns the name of the EventHandler. In this case Events.