RPC::Serialized::Handler::YATG::Retrieve - RPC handler for YATG::Retrieve::Disk
version 5.140510
This module implements an RPC::Serialized handler for YATG::Retrieve::Disk. There is no special configuration, and all received parameters are passed on to YATG::Retrieve::Disk::retrieve() verbatim.
YATG::Retrieve::Disk::retrieve()
Install the following additional modules to use this plugin:
RPC::Serialized
Tile::File::FixedRecLen
integer
Time::Local
Fcntl
You'll need to run an RPC::Serialized server, of course, and configure it to serve this handler. There are files in the examples/ folder of this distribution to help with that, e.g. rpc-serialized.server.yml:
examples/
rpc-serialized.server.yml
--- # configuration for rpc-serialized server with YATG handlers rpc_serialized: handlers: yatg_store: "RPC::Serialized::Handler::YATG::Store" yatg_retrieve: "RPC::Serialized::Handler::YATG::Retrieve" net_server: port: 1558 user: daemon group: daemon
You should head over to the RPC::Serialized documentation to learn how to set that up. We use a pre-forking Net::Server based implementation to receive port traffic data and store to disk, then serve it back out to CGI on a web server.
Oliver Gorwits <oliver@cpan.org>
This software is copyright (c) 2014 by University of Oxford.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install YATG::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm YATG::Config
CPAN shell
perl -MCPAN -e shell install YATG::Config
For more information on module installation, please visit the detailed CPAN module installation guide.