NAME
RPC::Simple::ObjectHandler - Perl class to handle a remote object
SYNOPSIS
use RPC::Simple::ObjectHandler;
blah blah blah
DESCRIPTION
Stub documentation for RPC::Simple::ObjectHandler was created by h2xs. It looks like the author of the extension was negligent enough to leave the stub unedited.
Blah blah blah.
new (server_ref, object_name, agent_id, argument_array_ref)
Creates a new object controller. Also creates a new object_name which is remotely controlled by the agent referenced by agent_id.
The new method of the slave object will be passed the argument stored in array_ref
The connection server is passed with server_ref
METHODS
remoteCall( [request_id], method_name, arguments )
Will call the slave object with method method_name and the arguments.
If request_id is defined, it means that a call-back is expexted. In this case, the argument passed should contains 'callback' => call_back_method.
close
delegate(method_name, ... )
Used to call the local object with passed method and arguments.
callbackDone($reqId,$result)
Called by the callHandler when a function performed by the remote object is over. $result being the result of this function.
AUTHOR
A. U. Thor, a.u.thor@a.galaxy.far.far.away
SEE ALSO
perl(1).