P5EEx-Blue-0.01

P5EEx::Blue::Procedure


NAME

P5EEx::Blue::Procedure - synchronous (potentially remote) procedure invocation


SYNOPSIS

    use P5EEx::Blue::P5EE;
    $context = P5EEx::Blue::P5EE->context();
    $procedure = $context->service("Procedure");  # or ...
    $procedure = $context->procedure();
    $procedure->execute($request, $response);
    $response = $procedure->execute($request);
    $response = $procedure->execute(%named);


DESCRIPTION

A Procedure service is a means by which a function call (perhaps remote) may be made synchronously.


Class Group: Procedure

The following classes might be a part of the Procedure Class Group.


Class: P5EEx::Blue::Procedure

A Procedure service is a means by which a function call (perhaps remote) may be made synchronously.

 * Throws: P5EEx::Blue::Exception::Procedure
 * Since:  0.01

Class Design

...


Constructor Methods:

new()

The constructor is inherited from P5EEx::Blue::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:    P5EEx::Blue::Exception::Procedure
    * Since:     0.01
    Sample Usage:
    $procedure->execute($request, $response);
    $response = $procedure->execute($request);
    $response = $procedure->execute(%named);


Protected Methods:

service_type()

Returns 'Procedure';

    * Signature: $service_type = P5EEx::Blue::Procedure->service_type();
    * Param:     void
    * Return:    $service_type  string
    * Since:     0.01
    $service_type = $widget->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.


SEE ALSO

P5EEx::Blue::Context, P5EEx::Blue::Service