NAME
App::CallDispatcher - synchronous (potentially remote) procedure invocation
SYNOPSIS
use App;
$context = App->context();
$procedure = $context->service("CallDispatcher"); # or ...
$procedure = $context->procedure();
$procedure->execute($request, $response);
$response = $procedure->execute($request);
$response = $procedure->execute(%named);
DESCRIPTION
A CallDispatcher service is a means by which a function call (perhaps remote) may be made synchronously.
Class Group: CallDispatcher
The following classes might be a part of the CallDispatcher Class Group.
Class: App::CallDispatcher
Class: App::CallDispatcher::Local
Class: App::CallDispatcher::SOAP
Class: App::CallDispatcher::pRPC
Class: App::CallDispatcher::PlRPC
Class: App::CallDispatcher::Messaging
Class: App::CallDispatcher
A CallDispatcher service is a means by which a function call (perhaps remote) may be made synchronously or asynchronously.
* Throws: App::Exception::CallDispatcher
* Since: 0.01
Class Design
...
Constructor Methods:
new()
The constructor is inherited from App::Service
.
Public Methods:
execute()
* Signature: $procedure->execute($request, $response);
* Signature: $response = $procedure->execute($request);
* Signature: $response = $procedure->execute(%named);
* Param: $request ref [in]
* Param: $response ref [out]
* Return: $response ref
* Throws: App::Exception::CallDispatcher
* Since: 0.01
Sample Usage:
$procedure->execute($request, $response);
$response = $procedure->execute($request);
$response = $procedure->execute(%named);
Protected Methods:
service_type()
Returns 'CallDispatcher';
* Signature: $service_type = App::CallDispatcher->service_type();
* Param: void
* Return: $service_type string
* Since: 0.01
$service_type = $cdisp->service_type();
ACKNOWLEDGEMENTS
* Author: Stephen Adkins <stephen.adkins@officevision.com>
* License: This is free software. It is licensed under the same terms as Perl itself.