The EventConfig class

(PECL event >= 1.2.6-beta)


Represents configuration structure which could be used in construction of the EventBase .

Sinopse da classe

final EventConfig {
/* Constants */
const int FEATURE_ET = 1 ;
const int FEATURE_O1 = 2 ;
const int FEATURE_FDS = 4 ;
/* Métodos */
public avoidMethod ( string $method ) : bool
public __construct ( )
public requireFeatures ( int $feature ) : bool
public setMaxDispatchInterval ( int $max_interval , int $max_callbacks , int $min_priority ) : void

Constantes pré-definidas


Requires a backend method that supports edge-triggered I/O.


Requires a backend method where adding or deleting a single event, or having a single event become active, is an O(1) operation.


Requires a backend method that can support arbitrary file descriptor types, and not just sockets.


add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top