NAME
Beekeeper::JSONRPC::Notification - Representation of a JSON-RPC notification
VERSION
Version 0.09
DESCRIPTION
Objects of this class represent a JSON-RPC notification (see http://www.jsonrpc.org/specification).
On worker classes the method handlers setted by Beekeeper::Worker::accept_notifications will receive these objects as parameters.
ACCESSORS
- method
-
Returns a string with the name of the method invoked.
- params
-
Returns the arbitrary data structure passed as parameters.
- id
-
Always returns undef.
- mqtt_properties
-
Returns a hashref containing the MQTT properties of the notification.
AUTHOR
José Micó, jose.mico@gmail.com
COPYRIGHT AND LICENSE
Copyright 2015-2021 José Micó.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language itself.
This software is distributed in the hope that it will be useful, but it is provided “as is” and without any express or implied warranties. For details, see the full text of the license in the file LICENSE.