Gennadiy Filatov

NAME

Salvation::Service::OutputProcessor - Base class for output processor engine

SYNOPSIS

 package YourSystem::Services::SomeService::Defaults::OutputProcessor;

 use Moose;

 extends 'Salvation::Service::OutputProcessor';

 no Moose;

REQUIRES

Moose

DESCRIPTION

Applied roles

Salvation::Roles::ServiceState

Salvation::Roles::SystemReference

METHODS

To be redefined

You can redefine following methods to achieve your own goals.

main

An actual output processing routine. Should return any defined value which is suitable for your system. Also it is recommended to set this value to output attribute of Salvation::Service::State object instance. The only argument is $self which is current OutputProcessor's instance.