use Supervisor::Class
version => $VERSION,
base => 'Supervisor::Base',
codec => 'JSON',
accessors => 'id server',
constants => 'HASH ARRAY STOPPED :rpc',
messages => {
ser
rt %s",
rpc_error => "server error: %s, message: %S",
json_encode => "unable to encode the packet",
json_decode => "unable to decode the packet",
network => "
or.rpc.client._call.';
eval {
$request = encode(
{
jsonrpc => JSONRPC,
method => $method,
params => $params,
Supervisor::Class
version => $VERSION,
base => 'Supervisor::Session',
codec => 'JSON',
utils => 'params',
accessors => 'supervisor client listener host port methods',
const
ion' => "this json-rpc version \"%s\", is not supported",
'rpc_format' => "this json-rpc format is not supported",
'rpc_batch' => "the usage of json-rpc batch mode is
not supported",
'rpc_notify' => "the usage of json-rpc notifications is not supported",
}
;
# ----------------------------------------------------------------------
# POE Events
# ----