This subclass of JsonHandler processes the JSON requests for the Devices
namespace of the JSON-RPC API. More...
Header: | #include <DeviceHandler> |
Inherits: | JsonHandler |
DeviceHandler(QObject * parent = 0) |
virtual QString | name() const |
void | DeviceAdded(const QVariantMap & params) |
void | DeviceChanged(const QVariantMap & params) |
void | DeviceRemoved(const QVariantMap & params) |
void | PluginConfigurationChanged(const QVariantMap & params) |
void | StateChanged(const QVariantMap & params) |
This subclass of JsonHandler processes the JSON requests for the Devices
namespace of the JSON-RPC API.
This JsonHandler will be created in the JsonRPCServer and used to handle JSON-RPC requests for the Devices
namespace of the API.
See also Device, JsonHandler, and JsonRPCServer.
Constructs a new DeviceHandler with the given parent.
[signal]
void DeviceHandler::DeviceAdded(const QVariantMap & params)This signal is emitted to the API notifications when a Device has been added. The params contain the map for the notification.
[signal]
void DeviceHandler::DeviceChanged(const QVariantMap & params)This signal is emitted to the API notifications when a Device has been changed or reconfigured. The params contain the map for the notification.
[signal]
void DeviceHandler::DeviceRemoved(const QVariantMap & params)This signal is emitted to the API notifications when a Device has been removed. The params contain the map for the notification.
[signal]
void DeviceHandler::PluginConfigurationChanged(const QVariantMap & params)[signal]
void DeviceHandler::StateChanged(const QVariantMap & params)This signal is emitted to the API notifications when a State has changed. The params contain the map for the notification.
[virtual]
QString DeviceHandler::name() constReimplemented from JsonHandler::name().
Returns the name of the DeviceHandler. In this case Devices.