Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Simple::ObjectHandler(User Contributed Perl DocumentatSimple::ObjectHandler(3)

NAME
       RPC::Simple::ObjectHandler - Perl class to handle a remote object

SYNOPSIS
	 use RPC::Simple::ObjectHandler;

DESCRIPTION
       This class is instanciated by RPS::Simple::Server each time a remote
       object is created. All is handled by the	server,	the user need not to
       worry about it.

new (server_ref, object_name, agent_id,	argument_array_ref, req_id)
       Creates a new object controller.	Also creates a new object_name which
       is remotely controlled by the agent referenced by agent_id. If object
       name has	no suffix, new will 'require' object_name.pm

       The new method of the slave object will be passed the argument stored
       in argument_array_ref.

       req_id is used for calling back the agent once the object is created
       (either with success ot not)

       The connection server is	passed with server_ref

METHODS
   remoteCall( request_id | undef , 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 expected.	In
       this case, the argument passed should contains a	sub reference.

   close
       Cancel all pending requests and delete itself.

   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.

AUTHORS
	   Current Maintainer
	   Clint Edwards <cedwards@mcclatchyinteractive.com>

	   Original
	   Dominique Dumont, <Dominique_Dumont@grenoble.hp.com>

SEE ALSO
       perl(1)

perl v5.24.1			  2006-05-31	      Simple::ObjectHandler(3)

NAME | SYNOPSIS | DESCRIPTION | new (server_ref, object_name, agent_id, argument_array_ref, req_id) | METHODS | AUTHORS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=RPC::Simple::ObjectHandler&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help