class CanDoTimeout extends Request

Job mit einem Timeout versehen

Same as CAN_DO, but with a timeout value on how long the job is allowed to run. After the timeout value, the job server will mark the job as failed and notify any listening clients.

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

string
getPacketData()

Packetdaten im binärformat

from Binary
string
__toString()

Paketdaten

from Packet
__construct($name, $timeout)

Neue Instanz

addArgument(string $key, string $value)

Argument hinzufügen

from Binary

Details

in Binary at line 100
string getPacketData()

Packetdaten im binärformat

Return Value

string

in Packet at line 48
string __toString()

Paketdaten

Return Value

string

at line 47
__construct($name, $timeout)

Neue Instanz

Parameters

$name
$timeout

in Binary at line 89
Binary addArgument(string $key, string $value)

Argument hinzufügen

Parameters

string $key Schlüssel
string $value Wert

Return Value

Binary