NAME

DTA::CAB::Server::HTTP::Handler::XmlRpc - CAB HTTP Server: request handler: XML-RPC queries (backwards-compatible)

SYNOPSIS

 ##========================================================================
 ## PRELIMINARIES
 
 use DTA::CAB::Server::HTTP::Handler::XmlRpc;
 
 ##========================================================================
 ## Methods
 
 $h = $class_or_obj->new(%options);
 $bool = $h->prepare($server);
 $rsp = $path->run($server, $localPath, $clientConn, $httpRequest);
 undef = $h->finish($server, $clientConn);
 

DESCRIPTION

DTA::CAB::Server::HTTP::Handler::XmlRpc inherits from DTA::CAB::Server::HTTP::Handler::CGI and implements the DTA::CAB::Server::HTTP::Handler interface as a wrapper for an underlying "hidden" DTA::CAB::Server::XmlRpc object, for backwards compatibility.

Methods

new
 $h = $class_or_obj->new(%options);

%$h, %options:

 cxsrv    => $cxsrv,            ##-- underlying DTA::CAB::Server::XmlRpc object
prepare
 $bool = $h->prepare($server);

Prepares the underlying DTA::CAB::Server::XmlRpc server object in $server->{cxsrv} if not already defined.

run
 $rsp = $path->run($server, $localPath, $clientConn, $httpRequest);

Perform local processing. This override is really just a hideous wrapper for RPC::XML::Server::dispatch().

finish
 undef = $h->finish($server, $clientConn);

Does nothing.

AUTHOR

Bryan Jurish <moocow@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2010-2019 by Bryan Jurish

This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.24.1 or, at your option, any later version of Perl 5 you may have available.

SEE ALSO

DTA::CAB::Server::HTTP::Handler::Query(3pm), DTA::CAB::Server::HTTP::Handler(3pm), DTA::CAB::Server::HTTP(3pm), DTA::CAB(3pm), perl(1), ...