App::Metabase::Relayd::Plugin - metabase-relayd plugins
The plugin constructor is
init. App::Metabase::Relayd uses Module::Pluggable to find plugins beneath the App::Metabase::Relayd::Plugin namespace and will attempt to call
init on each plugin class that it finds.
The role of the plugin is to determine if an appropriate section exists for its own configuration.
If no appropriate configuration exists, then
init must return
If appropriate configuration does exist, then the plugin may start a POE::Session.
App::Metabase::Relayd will watch for a
_child event indicating that it has gained a plugin child session. It will detach this child after making a note of the child's session ID which it will use to send the following events.
ARG0will be a
HASHREFwith the following keys:
archname distfile grade osname osversion perl_version textreport
ARG1will be the IP address of the client that sent the report.
Chris Williams <firstname.lastname@example.org>
This software is copyright (c) 2017 by Chris Williams.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.