CanDo
class CanDo extends Request
Information vom Worker an den Server, das die übergebene Funktion ab jetzt zur Verarbeitung bereit steht.
This is sent to notify the server that the worker is able to perform the given function. The worker is then put on a list to be woken up whenever the job server receives a job for that function.
Constants
UNUSED |
Nicht genutzer Typ |
CAN_DO |
Registrierung einer Funktion |
CANT_DO |
Abmelden einer Funktion |
RESET_ABILITIES |
Alle Registrierungen löschen |
PRE_SLEEP |
Sleep |
SUBMIT_JOB |
Job hinzufügen |
GRAB_JOB |
Job holen |
WORK_STATUS |
Status |
WORK_COMPLETE |
Complete |
WORK_FAIL |
Fail |
GET_STATUS |
Status |
DOECHO |
Echo |
SUBMIT_JOB_BG |
Submit |
SUBMIT_JOB_HIGH |
Submit |
SET_CLIENT_ID |
Submit |
CAN_DO_TIMEOUT |
Submit |
ALL_YOURS |
All |
WORK_EXCEPTION |
Exception |
OPTION |
Optionen |
WORK_DATA |
Data |
WORK_WARNING |
Warning |
GRAB_JOB_UNIQ |
Uniq |
SUBMIT_JOB_HIGH_BG |
Submit |
SUBMIT_JOB_LOW |
Submit |
SUBMIT_JOB_LOW_BG |
Submit |
SUBMIT_JOB_SCHED |
Submit |
SUBMIT_JOB_EPOCH |
Submit |
Properties
protected integer | $type | from Binary | |
protected string | $magic | from Binary | |
protected SimpleMap | $argument | from Binary |
Methods
__construct(string $name)
Neue Instanz