• ConfigurationHandler
  • ConfigurationHandler Class

    (nymeaserver::ConfigurationHandler)

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

    Header: #include <ConfigurationHandler>
    Inherits: JsonHandler

    Public Functions

    ConfigurationHandler(QObject * parent = 0)

    Reimplemented Public Functions

    virtual QString name() const

    Signals

    void BasicConfigurationChanged(const QVariantMap & params)
    void CloudConfigurationChanged(const QVariantMap & params)
    void LanguageChanged(const QVariantMap & params)
    void TcpServerConfigurationChanged(const QVariantMap & params)
    void WebServerConfigurationChanged(const QVariantMap & params)
    void WebSocketServerConfigurationChanged(const QVariantMap & params)

    Additional Inherited Members

    Detailed Description

    This subclass of JsonHandler processes the JSON requests for the Configuration namespace.

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

    See also JsonHandler and JsonRPCServer.

    Member Function Documentation

    ConfigurationHandler::ConfigurationHandler(QObject * parent = 0)

    Constructs a new ConfigurationHandler with the given parent.

    [signal] void ConfigurationHandler::BasicConfigurationChanged(const QVariantMap & params)

    This signal is emitted to the API notifications when the configurations of the server have been changed. The params contains the map for the notification.

    [signal] void ConfigurationHandler::CloudConfigurationChanged(const QVariantMap & params)

    [signal] void ConfigurationHandler::LanguageChanged(const QVariantMap & params)

    This signal is emitted to the API notifications when the language of the system has changed. The params contains the map for the notification.

    [signal] void ConfigurationHandler::TcpServerConfigurationChanged(const QVariantMap & params)

    This signal is emitted to the API notifications when the configurations of the TcpServer have been changed. The params contains the map for the notification.

    [signal] void ConfigurationHandler::WebServerConfigurationChanged(const QVariantMap & params)

    This signal is emitted to the API notifications when the configurations of the WebServer have been changed. The params contains the map for the notification.

    [signal] void ConfigurationHandler::WebSocketServerConfigurationChanged(const QVariantMap & params)

    This signal is emitted to the API notifications when the configurations of the WebSocketServer have been changed. The params contains the map for the notification.

    [virtual] QString ConfigurationHandler::name() const

    Reimplemented from JsonHandler::name().

    Returns the name of the ConfigurationHandler. In this case Configuration.