XAS::Spooler::Processor - Perl extension for the XAS environment
use XAS::Spooler::Processor; my $processor = XAS::Spooler::Processor->new( -schedule => '*/1 * * * *', -connector => 'connector', -logger => 'logger', -alias => 'nmon', -directory => 'nmon', -packet_type => 'ddc-nmon' );
This module scans a spool directory. When any files are found the are processed and sent to the Connector.
This module responds to the following POE events.
Fires the start_scan event.
Schedules the scanning process.
Stops the scanning process.
Performs the scanning process and dispatchs any packets to the Connectors 'gather_data' event.
Removes the unneeded file from the directory.
XAS
Kevin L. Esteb, <kevin@kesteb.us>
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.
To install XAS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XAS
CPAN shell
perl -MCPAN -e shell install XAS
For more information on module installation, please visit the detailed CPAN module installation guide.