Element index for package System_Daemon
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ i ]
[ l ]
[ n ]
[ o ]
[ p ]
[ r ]
[ s ]
[ t ]
[ u ]
[ w ]
[ _ ]
top
top
top
top
top
top
top
g
- getAutoRunPath
- in file OS.php, method System_Daemon_OS::getAutoRunPath()
Returns OS specific path to autoRun file
- getAutoRunScript
- in file OS.php, method System_Daemon_OS::getAutoRunScript()
Uses properties to enrich the autuRun Template
- getAutoRunTemplate
- in file OS.php, method System_Daemon_OS::getAutoRunTemplate()
Returns a template to base the autuRun script on.
- getAutoRunTemplatePath
- in file BSD.php, method System_Daemon_OS_BSD::getAutoRunTemplatePath()
Returns a template path to base the autuRun script on.
- getAutoRunTemplatePath
- in file OS.php, method System_Daemon_OS::getAutoRunTemplatePath()
Returns a template path to base the autuRun script on.
- getDetails
- in file OS.php, method System_Daemon_OS::getDetails()
Returns array with all the specific details of the loaded OS
- getOption
- in file Options.php, method System_Daemon_Options::getOption()
Retrieves any option found in $_definitions
- getOption
- in file Daemon.php, method System_Daemon::getOption()
Gets any option found in $_optionDefinitions Public interface to talk with with private option methods
- getOptions
- in file Options.php, method System_Daemon_Options::getOptions()
Gets an array of options found in $_definitions
- getOptions
- in file Daemon.php, method System_Daemon::getOptions()
Gets an array of options found
top
i
- init
- in file Options.php, method System_Daemon_Options::init()
Checks if all the required options are set & met.
- isDying
- in file Daemon.php, method System_Daemon::isDying()
Wether the our daemon is being killed, you might want to include this in your loop
- isInBackground
- in file Daemon.php, method System_Daemon::isInBackground()
Wether the class is already running in the background
- isInitialized
- in file Options.php, method System_Daemon_Options::isInitialized()
Wether options are initialized
- isInstalled
- in file OS.php, method System_Daemon_OS::isInstalled()
Determines wether the system is compatible with this OS
- isInstalled
- in file Windows.php, method System_Daemon_OS_Windows::isInstalled()
Determines wether this system is compatible with this OS
- isInstalled
- in file Linux.php, method System_Daemon_OS_Linux::isInstalled()
Determines wether the system is compatible with this OS
- isInstalled
- in file BSD.php, method System_Daemon_OS_BSD::isInstalled()
Determines wether the system is compatible with this OS
- isRunning
- in file Daemon.php, method System_Daemon::isRunning()
Check if a previous process with same pidfile was already running
top
l
- log
- in file Daemon.php, method System_Daemon::log()
Almost every deamon requires a log file, this function can facilitate that. Also handles class-generated errors, chooses either PEAR handling or PEAR-independant handling, depending on: self::getOption("usePEAR").
- LOG_ALERT
- in file Daemon.php, class constant System_Daemon::LOG_ALERT
Immediate action required
- LOG_CRIT
- in file Daemon.php, class constant System_Daemon::LOG_CRIT
Critical conditions
- LOG_DEBUG
- in file Daemon.php, class constant System_Daemon::LOG_DEBUG
Debug-level messages
- LOG_EMERG
- in file Daemon.php, class constant System_Daemon::LOG_EMERG
System is unusable
- LOG_ERR
- in file Daemon.php, class constant System_Daemon::LOG_ERR
Error conditions
- LOG_INFO
- in file Daemon.php, class constant System_Daemon::LOG_INFO
Informational
- LOG_NOTICE
- in file Daemon.php, class constant System_Daemon::LOG_NOTICE
Normal but significant
- LOG_WARNING
- in file Daemon.php, class constant System_Daemon::LOG_WARNING
Warning conditions
- logparser.php
- procedural page logparser.php
- Linux.php
- procedural page Linux.php
- Linux.php
- procedural page Linux.php
top
top
top
top
top
s
- setOption
- in file Options.php, method System_Daemon_Options::setOption()
Sets any option found in $_definitions
- setOption
- in file Daemon.php, method System_Daemon::setOption()
Sets any option found in $_optionDefinitions Public interface to talk with with private option methods
- setOptions
- in file Options.php, method System_Daemon_Options::setOptions()
Sets an array of options found in $_definitions
- setOptions
- in file Daemon.php, method System_Daemon::setOptions()
Sets an array of options found in $_optionDefinitions Public interface to talk with with private option methods
- setSigHandler
- in file Daemon.php, method System_Daemon::setSigHandler()
Overrule or add signal handlers.
- start
- in file Daemon.php, method System_Daemon::start()
Spawn daemon process.
- stop
- in file Daemon.php, method System_Daemon::stop()
Stop daemon process.
- strIsUnix
- in file Options.php, method System_Daemon_Options::strIsUnix()
Check if a string has a unix proof format (stripped spaces, special chars, etc)
- strToUnix
- in file Options.php, method System_Daemon_Options::strToUnix()
Convert a string to a unix proof format (strip spaces, special chars, etc)
- System_Daemon
- in file Daemon.php, class System_Daemon
System_Daemon. Create daemons with practicle functions like $daemon->start()
- simple.php
- procedural page simple.php
- System_Daemon_Exception
- in file Exception.php, class System_Daemon_Exception
An exception thrown by System_Daemon when it encounters an unrecoverable error.
- System_Daemon_Options
- in file Options.php, class System_Daemon_Options
Mechanism for validating, getting and setting a predefined set of options.
- System_Daemon_OS
- in file OS.php, class System_Daemon_OS
Operating System focussed functionality.
- System_Daemon_OS_BSD
- in file BSD.php, class System_Daemon_OS_BSD
A System_Daemon_OS driver for BSD
- System_Daemon_OS_Debian
- in file Debian.php, class System_Daemon_OS_Debian
A System_Daemon_OS driver for Debian based Operating Systems (including Ubuntu)
- System_Daemon_OS_Exception
- in file Exception.php, class System_Daemon_OS_Exception
An exception thrown by System_Daemon_OS when it encounters an unrecoverable error.
- System_Daemon_OS_Linux
- in file Linux.php, class System_Daemon_OS_Linux
A System_Daemon_OS driver for Linux based Operating Systems
- System_Daemon_OS_RedHat
- in file RedHat.php, class System_Daemon_OS_RedHat
A System_Daemon_OS driver for RedHat based Operating Systems
- System_Daemon_OS_Ubuntu
- in file Ubuntu.php, class System_Daemon_OS_Ubuntu
A System_Daemon_OS driver for Ubuntu. Based on Debian
- System_Daemon_OS_Windows
- in file Windows.php, class System_Daemon_OS_Windows
A System_Daemon_OS driver for Windows
top
top
top
top
Documentation generated on Mon, 11 Mar 2019 15:22:32 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|