Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Frontier::Daemon

Name Frontier::Daemon
Version
Located at /usr/share/perl5/vendor_perl
File /usr/share/perl5/vendor_perl/Frontier/Daemon.pm
Is Core No
Search CPAN for this module Frontier::Daemon
Documentation Frontier::Daemon
Module Details Frontier::Daemon

NAME

Frontier::Daemon - receive Frontier XML RPC requests


SYNOPSIS

 use Frontier::Daemon;
 Frontier::Daemon->new(methods => {
     'rpcName' => \&sub_name,
        ...
     });


DESCRIPTION

Frontier::Daemon is an HTTP/1.1 server that listens on a socket for incoming requests containing Frontier XML RPC2 method calls. Frontier::Daemon is a subclass of HTTP::Daemon, which is a subclass of IO::Socket::INET.

Frontier::Daemon takes a `methods' parameter, a hash that maps an incoming RPC method name to reference to a subroutine.

Frontier::Daemon takes a `use_objects' parameter that if set to a non-zero value will convert incoming <int>, <i4>, <float>, and <string> values to objects instead of scalars. See int(), float(), and string() in Frontier::RPC2 for more details.


SEE ALSO

perl(1), HTTP::Daemon(3), IO::Socket::INET(3), Frontier::RPC2(3)

<http://www.scripting.com/frontier5/xml/code/rpc.html>


AUTHOR

Ken MacLeod <ken@bitsko.slc.ut.us>

Perl Diver brought to you by ScriptSolutions.com © 1997- 2025