CGI::JSONRPC::Obj - Base class for easy handler creation
CGI::JSONRPC::Obj is a base class you can use to ease the creation of object handlers. Although it's fairly trivial to roll your own we recommend that all handlers use this class for forward compatablity reasons.
This object can all be viewed as documenting and defining the behaviour required of all objects served via CGI::JSONRPC.
When a CGI::JSONRPC call is dispatched the following happens:
The dispatcher will then call your method passing in the arguments recieved in the call.
Constructs the jsonrpc_object and inititializes it from the passed id if appropriate. By default there is no serialization of objects so it is the sole responsibility of all base classes to implement it. (see CGI::JSONRPC::Obj::Session for an example)
Tyler "Crackerjack" MacDonald <firstname.lastname@example.org> and David Labatte <email@example.com>.
Copyright 2006 Tyler "Crackerjack" MacDonald <firstname.lastname@example.org>
This is free software; You may distribute it under the same terms as perl itself.