(PECL gearman <= 0.5.0)
GearmanClient::setClientCallback — Callback function when there is a data packet for a task (deprecated)
Sets the callback function for accepting data packets for a task.
注意: This method has been replaced by GearmanClient::setDataCallback() in the 0.6.0 release of the Gearman extension.
注意: このコールバックは、このメソッドを呼び出した後に追加されたタスク(例: GearmanClient::addTask() を呼び出して追加されたタスク)に対してのみ実行されます。
callbackGEARMAN_SUCCESS が返されます。
taskcontextcontext として渡されたもの。