EventListener::setErrorCallback
(PECL event >= 1.2.6-beta)
EventListener::setErrorCallback — Set event listener's error callback
Описание
public
void
EventListener::setErrorCallback
(
string
$cb
)Set event listener's error callback
Список параметров
-
cb
-
The error callback. Should match the following prototype:
-
listener
-
The EventListener object.
-
data
-
User custom data attached to the callback.
-
Возвращаемые значения
Смотрите также
- EventListener::setCallback() - The setCallback purpose
- Функция EventListener::__construct() - Creates new connection listener associated with an event base
- Функция EventListener::disable() - Disables an event connect listener object
- Функция EventListener::enable() - Enables an event connect listener object
- Функция EventListener::getBase() - Returns event base associated with the event listener
- EventListener::getSocketName
- Функция EventListener::setCallback() - The setCallback purpose
- Функция EventListener::setErrorCallback() - Set event listener's error callback
Коментарии
404 Not Found