NAME

XAS::Lib::App::Daemon::POE - The base class to write daemons that use POE within the XAS environment

SYNOPSIS

use XAS::Lib::App::Daemon::POE;

my $app = XAS::Lib::App::Daemon::POE->new();

$app->run();

DESCRIPTION

This module defines a base class for writing daemons with POE. It inherits from XAS::Lib::App::Daemon. Please see that module for additional documentation.

METHODS

define_signals

This method sets up basic signal handling. Signal handling is done by POE.

signal_handler($signal)

This method is a default signal handler. Signal processing is done by POE.

$signal

The signal that was captured.

define_daemon

This method will cause the proces to become a daemon. It also notifes POE that the process has forked.

SEE ALSO

XAS

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.