The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

XAS::Collector::Format::Alerts - Perl extension for the XAS Environment

SYNOPSIS

  use XAS::Collector::Format::Alerts;

  my $formatter = XAS::Collector::Format::Alerts->new(
      -alias => 'format-alerts',
  );

DESCRIPTION

This module formats the xas-alerts packet type for output.

METHODS

new

This module inherits from XAS::Collector::Format::Base and takes the same parameters.

PUBLIC EVENTS

format_data(OBJECT, ARG0...ARG3)

This event will trigger the formatting of xas-alerts packets.

OBJECT

A handle to the current object.

ARG0

The data to be formatted.

ARG1

The acknowledgement to send back to the message queue server. This is passed on to the output processor.

ARG2

The alias of the input processor. This is passed on to the output processor.

ARG3

The alias of the output processor.

SEE ALSO

XAS::Collector::Format::Base
XAS::Collector::Format::Logs
XAS::Collector
XAS

AUTHOR

Kevin Esteb, <kevin@kesteb.us>

COPYRIGHT AND LICENSE

Copyright (c) 2012-2015 Kevin L. Esteb

This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.