Frontier::Daemon(3pm)

Frontier::Daemon3pm

Receive frontier xml rpc requests

Usage

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

Overview

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.

Releases

12 releases since Debian 3.0 (Woody); the text changed 6 times.

  1. 3.0
  2. 3.1
  3. 4.0
  4. 5.0–6.0
  5. 7–9
  6. 10
  7. 11–13

Author

Ken MacLeod <[email protected]>

From libfrontier-rpc-perl 0.07b4-7.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.