Web::Dash::DeeModel - remote Dee Model object
Web::Dash::DeeModel represents the remote Dee Model object on DBus.
This module is not meant for end users. Use Web::Dash::Lens instead.
The constructor.
Fields in %args are:
%args
bus
The DBus bus to be used.
service_name
The DBus service name for the Dee Model. Its DBus object name is automatically generated by the service name.
schema
The schema of the Dee Model.
schema is a hash-ref. Its key is an integer, which is a column index of the raw Dee Model. Its value is a string, which is the name for the column.
Returns a Future::Q object that represents the current values of the $model.
$model
If $exp_seqnum is specified, the seqnum of obtained values will be checked. If the current seqnum is not equal to $exp_seqnum, $future will be rejected.
$exp_seqnum
$future
In success, $future will be fulfilled with the current values of the $model. They are a list of hash-refs transformed by the schema specified in new().
new()
In failure, $future will be rejected.
Toshio Ito <toshioito [at] cpan.org>
<toshioito [at] cpan.org>
To install Web::Dash, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Web::Dash
CPAN shell
perl -MCPAN -e shell install Web::Dash
For more information on module installation, please visit the detailed CPAN module installation guide.