NAME

App::EventStreamr::Process - A process object

VERSION

version 0.3

SYNOPSIS

This package provides core start/stop logic for all processes and devices.

DESCRIPTION

This package provides the core run/stop logic for EventStreamr. A process will extend this and provide any extra logic specific to its needs.

It consumes the 'ProcessControl' role with requires a 'cmd' attribute and will utilise an optional 'cmd_regex' if one exists.

METHODS

run_stop $device->run_stop()

Will start the process if it's intended to be running or stop it if isn't.

AUTHOR

Leon Wright < techman@cpan.org >

COPYRIGHT AND LICENSE

This software is Copyright (c) 2014 by Leon Wright.

This is free software, licensed under:

The GNU Affero General Public License, Version 3, November 2007