RPC::XML::Procedure

RPC::XML::Procedure is an object encapsulation of server-side RPC procedures.
Download

RPC::XML::Procedure Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Randy J. Ray
  • Publisher web site:
  • http://search.cpan.org/~rjray/WebService-ISBNDB-0.34/lib/WebService/ISBNDB/API/Subjects.pm

RPC::XML::Procedure Tags


RPC::XML::Procedure Description

RPC::XML::Procedure is an object encapsulation of server-side RPC procedures. RPC::XML::Procedure is an object encapsulation of server-side RPC procedures.SYNOPSIS require RPC::XML::Procedure; ... $method_1 = RPC::XML::Procedure->new({ name => 'system.identity', code => sub { ... }, signature => }); $method_2 = RPC::XML::Procedure->new('/path/to/status.xpl');IMPORTANT NOTEThis package is comprised of the code that was formerly RPC::XML::Method. The package was renamed when the decision was made to support procedures and methods as functionally different entities. It is not necessary to include both this module and RPC::XML::Method -- this module provides the latter as an empty subclass. In time, RPC::XML::Method will be removed from the distribution entirely.The RPC::XML::Procedure package is designed primarily for behind-the-scenes use by the RPC::XML::Server class and any subclasses of it. It is documented here in case a project chooses to sub-class it for their purposes (which would require setting the method_class attribute when creating server objects, see RPC::XML::Server).This package grew out of the increasing need to abstract the operations that related to the methods a given server instance was providing. Previously, methods were passed around simply as hash references. It was a small step then to move them into a package and allow for operations directly on the objects themselves. In the spirit of the original hashes, all the key data is kept in clear, intuitive hash keys (rather than obfuscated as the other classes do). Thus it is important to be clear on the interface here before sub-classing this package. Requirements: · Perl


RPC::XML::Procedure Related Software