• LoggingHandler
  • LoggingHandler Class

    (nymeaserver::LoggingHandler)

    This subclass of JsonHandler processes the JSON requests for the Logging namespace of the JSON-RPC API. More...

    Header: #include <LoggingHandler>
    Inherits: JsonHandler

    Public Functions

    LoggingHandler(QObject * parent = 0)

    Reimplemented Public Functions

    virtual QString name() const

    Signals

    void LogDatabaseUpdated(const QVariantMap & params)
    void LogEntryAdded(const QVariantMap & params)

    Additional Inherited Members

    Detailed Description

    This subclass of JsonHandler processes the JSON requests for the Logging namespace of the JSON-RPC API.

    This JsonHandler will be created in the JsonRPCServer and used to handle JSON-RPC requests for the Logging namespace of the API.

    See also LogEngine, JsonHandler, and JsonRPCServer.

    Member Function Documentation

    LoggingHandler::LoggingHandler(QObject * parent = 0)

    Constructs a new LoggingHandler with the given parent.

    [signal] void LoggingHandler::LogDatabaseUpdated(const QVariantMap & params)

    This signal is emitted to the API notifications when the logging aatabase has been updated (i.e. Device or Rule removed). The params contain the map for the notification.

    [signal] void LoggingHandler::LogEntryAdded(const QVariantMap & params)

    This signal is emitted to the API notifications when a LogEntry was added to the database. The params contain the map for the notification.

    [virtual] QString LoggingHandler::name() const

    Reimplemented from JsonHandler::name().

    Returns the name of the LoggingHandler. In this case Logging.