Class | Description |
---|---|
JApplicationDaemon | Base class for a Joomla! command line application. |
Method to change the identity of the daemon process and resources.
Method to put the application into the background.
This is truly where the magic happens. This is where we fork the process and kill the parent process, which is essentially what turns the application into a daemon.
Method to fork the process.
Method to perform basic garbage collection and memory management in the sense of clearing the stat cache. We will probably call this method pretty regularly in our main loop.
Check to see if the daemon is active. This does not assume that $this daemon is active, but only if an instance of the application is active as a daemon.
Load an object or array into the application configuration object.
Method to return the exit code of a terminated child process.
Method to return the exit code of a terminated child process.
Method to install a signal handler.
Method to wait on or return the status of a forked child.
Method to handle post-fork triggering of the onFork event.
Restart daemon process.
Method to attach the JApplicationDaemon signal handler to the known signals. Applications can override these handlers by using the pcntl_signal() function and attaching a different callback method.
Method to shut down the daemon and optionally restart it.
Spawn daemon process.
Stop daemon process.
Method to write the process id file out to disk.
Documentation generated on Mon, 25 Jun 2012 13:53:57 -0500 by phpDocumentor 1.4.4