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

NAME

Supervisor::Constants - Define useful constants for the Supervisor

SYNOPSIS

 use Supervisor::Class
   version => '0.01',
   base    => 'Supervisor::Base',
   constants => 'STOPPED STARTED :rpc'
 ;

DESCRIPTION

This module defines some useful constants that are used thru out the supervisor environment.

EXPORTS

These can be exported individually or by using :all.

 START
 STOP
 RESTART
 RELOAD
 RUNNING
 STOPPED
 ALIVE
 DEAD
 SHUTDOWN
 RELOADED
 STARTED
 UNKNOWN
 

Additionaly these can be exported by using :rpc.

 JSONRPC
 DEFAULT_HOST
 DEFAULT_PORT
 ERR_PARSE
 ERR_REQ
 ERR_METHOD
 ERR_PARAMS
 ERR_INTERNAL
 ERR_SERVER
 SRV_ERR_MIN
 SRV_ERR_MAX

SEE ALSO

 Badger::Constants

 Supervisor
 Supervisor::Base
 Supervisor::Class
 Supervisor::Constants
 Supervisor::Controller
 Supervisor::Log
 Supervisor::Process
 Supervisor::ProcessFactory
 Supervisor::Session
 Supervisor::Utils
 Supervisor::RPC::Server
 Supervisor::RPC::Client

AUTHOR

Kevin Esteb, <kesteb@wsipc.org>

COPYRIGHT AND LICENSE

Copyright (C) 2009 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.