NAME
XAS::Spooler::Processor - Perl extension for the DDC Environment
SYNOPSIS
use XAS::Spooler::Processor;
my $processor = XAS::Spooler::Processor->new(
-schedule => '*/1 * * * *',
-connector => 'connector',
-logger => 'logger',
-alias => 'nmon',
-directory => 'nmon',
-packet_type => 'ddc-nmon'
);
DESCRIPTION
This module scans a spool directory. When any files are found the are processed and sent to the Connector.
EVENTS
This module responds to the following POE events.
startup
Fires the start_scan event.
start_scan
Schedules the scanning process.
stop_scan
Stops the scanning process.
scan
Performs the scanning process and dispatchs any packets to the Connectors 'gather_data' event.
unlink_file
Removes the unneeded file from the directory.
SEE ALSO
XAS
XAS::DDC
AUTHOR
Kevin L. Esteb, <kevin@kesteb.us>
COPYRIGHT AND LICENSE
Copyright (C) 2012 by Kevin L. Esteb
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.