GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  RPC::SIMPLE::CALLHANDLER (3)

.ds Aq ’

NAME

RPC::Simple::CallHandler - Perl class to handle RPC calls with call-back

CONTENTS

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 that the call-back will be passed to the local object which issued the call.

Used only for asynchronous functions calls. I.e the called function cannot pass 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.

AUTHORS



    Current Maintainer
    Clint Edwards <cedwards@mcclatchyinteractive.com>

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



SEE ALSO

perl(1).
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 SIMPLE::CALLHANDLER (3) 2006-05-31

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.