MAN page from Old RedHat 6.X perl-RPC-Simple-0.5-6.i386.rpm
Simple::CallHandler
Section: User Contributed Perl Documentation (3)
Updated: perl 5.005, patch 03
Index NAME
RPC::Simple::CallHandler - Perl class to handle RPC calls with call-back
SYNOPSIS
use RPC::Simple::CallHandler;
DESCRIPTION
This class is intanciated on the remote side each time a function is called with a call-back ref. This class will hold the relevant information so thatthe call-back will be passed to the local object which issued the call.
Used only for asynchronous functions calls. I.e the called function cannotpass a result immediately, it will have to call-back this handler.
new (handler_ref, remote_object, request_id, method, argument_ref)
Call the remote_object methods with a call-back parameter and the passed arguments, store the handler ref.
Note that the called method must be able to handle a sub ref parameter.This sub must be called when the function is over.
Usually the call-back function will be a closure.
methods
done ($result, ...)
call-back method.
AUTHOR
Dominique_DumontAATThp.com
SEE ALSO
perl(1).
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- new (handler_ref, remote_object, request_id, method, argument_ref)
- methods
- done ($result, ...)
- AUTHOR
- SEE ALSO
This document was created byman2html,using the manual pages.