PHP Doku:: Callback function when there is a data packet for a task - gearmanclient.setdatacallback.html

Verlauf / Chronik / History: (6) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzSonstige DiensteGearmanThe GearmanClient classGearmanClient::setDataCallback

Ein Service von Reinhard Neidl - Webprogrammierung.

The GearmanClient class

<<GearmanClient::setData

GearmanClient::setExceptionCallback>>

GearmanClient::setDataCallback

(PECL gearman >= 0.6.0)

GearmanClient::setDataCallbackCallback function when there is a data packet for a task

Beschreibung

public bool GearmanClient::setDataCallback ( callback $callback )

Sets the callback function for accepting data packets for a task. The callback function should take a single argument, a GearmanTask object.

Parameter-Liste

callback

A function or method to call

Rückgabewerte

Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)