EventListener::setErrorCallback
(PECL event >= 1.2.6-beta)
EventListener::setErrorCallback — Set event listener's error callback
Description
public
void
EventListener::setErrorCallback
(
string
$cb
)Set event listener's error callback
Parameters
-
cb
-
The error callback. Should match the following prototype:
-
listener
-
The EventListener object.
-
data
-
User custom data attached to the callback.
-
Return Values
See Also
- 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