Event::setTimer

(PECL event >= 1.2.6-beta) Re-configures timer event public bool Event::setTimer ( EventBase $base , callable $cb [, mixed $arg ] ) Re-configures timer event. Note, this function doesn't invoke obsolete libevent's event_set . It calls event_assign instead. Parameters: base The event base to associate with. cb The timer event callba

Event::setPriority

(PECL event >= 1.2.6-beta) Set event priority public bool Event::setPriority ( int $priority ) Set event priority. Parameters: priority The event priority. Returns: Returns TRUE on success. Otherwise FALSE.

Event::set

(PECL libevent >= 0.0.1) Re-configures event public bool Event::set ( EventBase $base , mixed $fd [, int $what [, callable $cb [, mixed $arg ]]] ) Re-configures event. Note, this function doesn't invoke obsolete libevent's event_set. It calls event_assign instead. Parameters: base The event base to associate the event with. fd A

Event::pending

(PECL event >= 1.2.6-beta) Detects whether event is pending or scheduled public bool Event::pending ( int $flags ) Detects whether event is pending or scheduled Parameters: flags One of, or a composition of the following constants: Event::READ , Event::WRITE , Event::TIMEOUT , Event::SIGNAL . Returns: Returns TRUE if event is pending or sched

Event::getSupportedMethods

(PECL event >= 1.2.6-beta) Returns array with of the names of the methods supported in this version of Libevent public static array Event::getSupportedMethods ( void ) Returns array with of the names of the methods(backends) supported in this version of Libevent. Returns: Returns array. See also: EventConfig

Event::free

(PECL libevent >= 0.0.1) Make event non-pending and free resources allocated for this event. public void Event::free ( void ) Removes event from the list of events monitored by libevent, and free resources allocated for the event. Returns: No value is returned. The Event::free() method currently doesn't destruct the object itself. To destruct the object co

Event::delTimer

(PECL event >= 1.2.6-beta) Makes timer event non-pending public bool Event::delTimer ( void ) Event::delTimer() is an alias of Event::del() . See also: Event::del() -

Event::delSignal

(PECL event >= 1.2.6-beta) Makes signal event non-pending public bool Event::delSignal ( void ) Event::delSignal() is an alias of Event::del() See also: Event::del() -

Event::del

(PECL libevent >= 0.0.1) Makes event non-pending public bool Event::del ( void ) Removes an event from the set of monitored events, i.e. makes it non-pending. Returns: Returns TRUE on success. Otherwise FALSE See also: Event::add() -

Event::__construct

(PECL event >= 1.2.6-beta) Constructs Event object public Event::__construct ( EventBase $base , mixed $fd , int $what , callable $cb [, mixed $arg = NULL ] ) Constructs Event object. Parameters: base The event base to associate with. fd stream resource, socket resource, or numeric file descriptor. For timer events pass -1 . For si