JSON::RPC::Common::Procedure::Call man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

JSON::RPC::Common::ProUserrContributed PeJSON::RPC::Common::Procedure::Call(3)

NAME
       JSON::RPC::Common::Procedure::Call - JSON RPC Procedure Call base
       class.

SYNOPSIS
	       use JSON::RPC::Common::Procedure::Call;

	       my $req = JSON::RPC::Common::Procedure::Call->inflate({ ... });

	       warn "HALLO JSONRPC VERSION " . $req->version;

DESCRIPTION
       A JSON-RPC Procedure Call (ed: *rolls eys*, what was wrong with
       "request"?) is either a notification or a method invocation in JSON-
       PRC.

       See http://json-rpc.org/wiki/specification <http://json-
       rpc.org/wiki/specification> for more details.

ATTRIBUTES
       All attributes are read only unless otherwise specified.

       version
       id  The request ID.

	   Used to correlate a request to a response.

       method
	   The name of the method to invoke.

       params
	   Returns a reference to the parameters hash or array.

       return_class
       error_class
	   The classes to instantiate the response objects.

	   These vary per subclass.

METHODS
       inflate
	   A factory constructor. Delegates to "new" on a subclass based on
	   the protocol version.

	   This is the recommended constructor.

       deflate
	   Flatten to JSON data

       new The actual constructor.

	   Not intended for normal use on this class, you should use a
	   subclass most of the time.

	   Calling "JSON::RPC::Common::Procedure::Call->new" will construct a
	   call with an undefined version, which cannot be deflated (and thus
	   sent over the wire). This is still useful for testing your own
	   code's RPC hanlding, so this is not allowed.

       params_list
	   Dereferences "params" regardless of representation.

	   Returns a list of positionals or a key/value list.

       return_result $result
       return_error %error_params
	   Create a new JSON::RPC::Common::Procedure::Return with or without
	   an error.

       is_notification
	   Whether this request is a notification (a method that does not need
	   a response).

       is_service
	   Whether this request is a JSON-RPC 1.1 service method (e.g.
	   "system.describe").

	   This method is always false for 1.0 and 2.0.

       call $obj
	   A convenience method to invoke the call on $obj and create a new
	   return with the return value.

perl v5.14.1			  2009-01JSON::RPC::Common::Procedure::Call(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net