A

AbstractArgumentsClass in namespace Comodojo\Daemon\Console
AbstractLockerClass in namespace Comodojo\Daemon\Locker
AbstractMessageClass in namespace Comodojo\Daemon\Socket
AbstractSocketClass in namespace Comodojo\Daemon\Socket
PosixSignals::any() — Method in class PosixSignals
AbstractWorkerClass in namespace Comodojo\Daemon\Worker

C

AbstractArguments::create() — Method in class AbstractArguments
Static constructor
$Daemon#consoleProperty in class Daemon
AbstractSocket::connect() — Method in class AbstractSocket
AbstractSocket::close() — Method in class AbstractSocket
ConnectionClass in namespace Comodojo\Daemon\Socket
Connection::checkConnectionError() — Method in class Connection
Server::create() — Method in class Server
Server::connect() — Method in class Server
Server::close() — Method in class Server
Server::clean() — Method in class Server
SocketTransport::create() — Method in class SocketTransport
SocketTransport::connect() — Method in class SocketTransport
SocketTransport::close() — Method in class SocketTransport
ChecksClass in namespace Comodojo\Daemon\Utils
Checks::cli() — Method in class Checks
Check if script is running from command line
PosixSignals::call() — Method in class PosixSignals
Loop::count() — Method in class Loop
SharedMemory::close() — Method in class SharedMemory
Worker::create() — Method in class Worker

D

$AbstractArguments#dataProperty in class AbstractArguments
DaemonArgumentsClass in namespace Comodojo\Daemon\Console
$DaemonArguments#dataProperty in class DaemonArguments
Default daemon's cli arguments.
DaemonClass in namespace Comodojo\Daemon
$Daemon#default_propertiesProperty in class Daemon
Daemon::daemonize() — Method in class Daemon
Start as a daemon, forking main process and detaching it from terminal
Daemon::declass() — Method in class Daemon
Connection::destroy() — Method in class Connection
$Greeter#dataProperty in class Greeter
$Request#dataProperty in class Request
$Response#dataProperty in class Response
$PosixSignals#dataProperty in class PosixSignals
SharedMemory::delete() — Method in class SharedMemory

E

AbstractArguments::export() — Method in class AbstractArguments
Export data as array
LogHandler::excludeContext() — Method in class LogHandler
Turn off context writer
Process::end() — Method in class Process
Stop current process execution.

G

Daemon::getSocket() — Method in class Daemon
Daemon::getWorkers() — Method in class Daemon
PosixEvent::getProcess() — Method in class PosixEvent
SocketEvent::getProcess() — Method in class SocketEvent
WorkerEvent::getLoop() — Method in class WorkerEvent
WorkerEvent::getWorker() — Method in class WorkerEvent
AbstractSocket::getSocket() — Method in class AbstractSocket
AbstractSocket::getSocketError() — Method in class AbstractSocket
Connection::getIndex() — Method in class Connection
Connection::getSocket() — Method in class Connection
GreeterClass in namespace Comodojo\Daemon\Socket
Server::getRpcServer() — Method in class Server
PidTrait::getPid() — Method in class PidTrait
Get current PID.
SignalsTrait::getSignals() — Method in class SignalsTrait
ProcessTools::getNiceness() — Method in class ProcessTools
Get niceness of a running process
ProcessTools::getPid() — Method in class ProcessTools
Get current process PID
AbstractWorker::getName() — Method in class AbstractWorker
Get worker name.
AbstractWorker::getId() — Method in class AbstractWorker
Get worker id (unique).
Manager::get() — Method in class Manager
SharedMemory::getKey() — Method in class SharedMemory
Worker::getInstance() — Method in class Worker
Worker::getLooptime() — Method in class Worker
Worker::getForever() — Method in class Worker
Worker::getInputChannel() — Method in class Worker
Worker::getOutputChannel() — Method in class Worker
WorkerInterface::getId() — Method in class WorkerInterface
Get worker id (unique).
WorkerInterface::getName() — Method in class WorkerInterface
Get worker name.

H

PauseWorker::handle() — Method in class PauseWorker
ResumeWorker::handle() — Method in class ResumeWorker
StopDaemon::handle() — Method in class StopDaemon
StopWorker::handle() — Method in class StopWorker
WorkerWatchdog::handle() — Method in class WorkerWatchdog
$AbstractSocket#handlerProperty in class AbstractSocket

I

LogHandler::includeContext() — Method in class LogHandler
Turn on context writer
$Daemon#is_activeProperty in class Daemon
$Daemon#is_supervisorProperty in class Daemon
Daemon::init() — Method in class Daemon
Parse console arguments and init the daemon
$Connection#indexProperty in class Connection
MethodsInjector::inject() — Method in class MethodsInjector
ProcessTools::isRunning() — Method in class ProcessTools
Return true if process is still running, false otherwise
Manager::install() — Method in class Manager
Install a worker into the stack
Manager::isInstalled() — Method in class Manager
$Worker#instanceProperty in class Worker
$Worker#is_foreverProperty in class Worker
$Worker#input_channelProperty in class Worker

K

ProcessTools::kill() — Method in class ProcessTools
Kill a process

L

LogHandlerClass in namespace Comodojo\Daemon\Console
$WorkerEvent#loopProperty in class WorkerEvent
AbstractLocker::lock() — Method in class AbstractLocker
PidLock::lock() — Method in class PidLock
Server::listen() — Method in class Server
Server::loop() — Method in class Server
AbstractWorker::loop() — Method in class AbstractWorker
The worker loop
LoopClass in namespace Comodojo\Daemon\Worker
$Worker#looptimeProperty in class Worker
WorkerInterface::loop() — Method in class WorkerInterface
The worker loop

M

$AbstractMessage#modeProperty in class AbstractMessage
MethodsInjectorClass in namespace Comodojo\Daemon\Socket
$Server#max_connectionsProperty in class Server
Checks::multithread() — Method in class Checks
Check if php interpreter supports pcntl_fork (required in multithread mode)
PosixSignals::mask() — Method in class PosixSignals
ManagerClass in namespace Comodojo\Daemon\Worker

O

PosixSignals::on() — Method in class PosixSignals
$Worker#output_channelProperty in class Worker

P

$Daemon#pidlockProperty in class Daemon
PosixEventClass in namespace Comodojo\Daemon\Events
$PosixEvent#processProperty in class PosixEvent
$SocketEvent#processProperty in class SocketEvent
PauseWorkerClass in namespace Comodojo\Daemon\Listeners
PidLockClass in namespace Comodojo\Daemon\Locker
ProcessClass in namespace Comodojo\Daemon
SocketTransport::performCall() — Method in class SocketTransport
{@inheritdoc}
PidTraitClass in namespace Comodojo\Daemon\Traits
$PidTrait#pidProperty in class PidTrait
Current PID
PosixSignalsClass in namespace Comodojo\Daemon\Utils
$PosixSignals#pointerProperty in class PosixSignals
ProcessToolsClass in namespace Comodojo\Daemon\Utils
Loop::pause() — Method in class Loop
Manager::pause() — Method in class Manager

R

ResumeWorkerClass in namespace Comodojo\Daemon\Listeners
AbstractLocker::release() — Method in class AbstractLocker
AbstractLocker::readLock() — Method in class AbstractLocker
AbstractLocker::releaseLock() — Method in class AbstractLocker
PidLock::release() — Method in class PidLock
$AbstractSocket#read_bufferProperty in class AbstractSocket
RequestClass in namespace Comodojo\Daemon\Socket
ResponseClass in namespace Comodojo\Daemon\Socket
$Server#rpc_serverProperty in class Server
SocketTransport::read() — Method in class SocketTransport
SocketTransport::readGreeter() — Method in class SocketTransport
SocketTransport::rawRead() — Method in class SocketTransport
Loop::resume() — Method in class Loop
Manager::resume() — Method in class Manager
Manager::running() — Method in class Manager
SharedMemory::read() — Method in class SharedMemory

S

$Daemon#socketProperty in class Daemon
Daemon::setup() — Method in class Daemon
Setup method; it allows to inject code BEFORE the daemon spinup
Daemon::start() — Method in class Daemon
Start the process, creating socket and spinning up workers (if any)
Daemon::stop() — Method in class Daemon
SocketEventClass in namespace Comodojo\Daemon\Events
StopDaemonClass in namespace Comodojo\Daemon\Listeners
StopWorkerClass in namespace Comodojo\Daemon\Listeners
Process::signalToEvent() — Method in class Process
The generic signal handler.
AbstractMessage::serialize() — Method in class AbstractMessage
$AbstractSocket#socketProperty in class AbstractSocket
$AbstractSocket#socket_domainProperty in class AbstractSocket
$AbstractSocket#socket_typeProperty in class AbstractSocket
$AbstractSocket#socket_protocolProperty in class AbstractSocket
$AbstractSocket#socket_resourceProperty in class AbstractSocket
$AbstractSocket#socket_portProperty in class AbstractSocket
AbstractSocket::setSocket() — Method in class AbstractSocket
AbstractSocket::setHandler() — Method in class AbstractSocket
$Connection#socketProperty in class Connection
ServerClass in namespace Comodojo\Daemon\Socket
Server::stop() — Method in class Server
SocketTransportClass in namespace Comodojo\Daemon\Socket
SocketTransport::send() — Method in class SocketTransport
PidTrait::setPid() — Method in class PidTrait
Set current PID.
SignalsTraitClass in namespace Comodojo\Daemon\Traits
$SignalsTrait#signalsProperty in class SignalsTrait
SignalsTrait::setSignals() — Method in class SignalsTrait
Checks::signals() — Method in class Checks
Check if php interpreter supports pcntl signal handlers
PosixSignals::sigNo() — Method in class PosixSignals
PosixSignals::sigName() — Method in class PosixSignals
PosixSignals::setDefault() — Method in class PosixSignals
ProcessTools::signal() — Method in class ProcessTools
ProcessTools::setNiceness() — Method in class ProcessTools
Set niceness of a running process
AbstractWorker::spinup() — Method in class AbstractWorker
Spinup worker
AbstractWorker::spindown() — Method in class AbstractWorker
Spindown worker
Loop::start() — Method in class Loop
Loop::stop() — Method in class Loop
Manager::setPid() — Method in class Manager
Manager::start() — Method in class Manager
Manager::stop() — Method in class Manager
Manager::status() — Method in class Manager
SharedMemoryClass in namespace Comodojo\Daemon\Worker
SharedMemory::send() — Method in class SharedMemory
Worker::setInstance() — Method in class Worker
Worker::setLooptime() — Method in class Worker
Worker::setForever() — Method in class Worker
Worker::setInputChannel() — Method in class Worker
Worker::setOutputChannel() — Method in class Worker
WorkerInterface::spinup() — Method in class WorkerInterface
Spinup worker
WorkerInterface::spindown() — Method in class WorkerInterface
Spindown worker

T

ProcessTools::term() — Method in class ProcessTools
Terminate a process, asking PID to terminate or killing it directly.
Loop::ticker() — Method in class Loop

U

AbstractMessage::unserialize() — Method in class AbstractMessage
PosixSignals::unmask() — Method in class PosixSignals

W

LogHandler::write() — Method in class LogHandler
Record's writer
$Daemon#workersProperty in class Daemon
WorkerEventClass in namespace Comodojo\Daemon\Events
$WorkerEvent#workerProperty in class WorkerEvent
WorkerWatchdogClass in namespace Comodojo\Daemon\Listeners
AbstractLocker::writeLock() — Method in class AbstractLocker
SocketTransport::write() — Method in class SocketTransport
WorkerClass in namespace Comodojo\Daemon\Worker
WorkerInterfaceClass in namespace Comodojo\Daemon\Worker

_

LogHandler::__construct() — Method in class LogHandler
Class constructor
Daemon::__construct() — Method in class Daemon
Daemon constructor
PosixEvent::__construct() — Method in class PosixEvent
SocketEvent::__construct() — Method in class SocketEvent
WorkerEvent::__construct() — Method in class WorkerEvent
PidLock::__construct() — Method in class PidLock
Process::__construct() — Method in class Process
Build the process
AbstractMessage::__toString() — Method in class AbstractMessage
AbstractSocket::__construct() — Method in class AbstractSocket
Connection::__construct() — Method in class Connection
Server::__construct() — Method in class Server
PosixSignals::__construct() — Method in class PosixSignals
AbstractWorker::__construct() — Method in class AbstractWorker
Loop::__construct() — Method in class Loop
Manager::__construct() — Method in class Manager
Manager constructor
SharedMemory::__construct() — Method in class SharedMemory