EventConfig
final class EventConfig (View source)
EventConfig.
Represents configuration structure which could be used in construction of the EventBase .
Constants
FEATURE_ET |
|
FEATURE_O1 |
|
FEATURE_FDS |
|
Methods
__construct()
__construct.
bool
avoidMethod(string $method)
avoidMethod.
bool
requireFeatures(int $feature)
requireFeatures.
bool
setFlags(int $flags)
Sets one or more flags to configure what parts of the eventual EventBase will be initialized, and how they'll work
void
setMaxDispatchInterval(int $max_interval, int $max_callbacks, int $min_priority)
setMaxDispatchInterval.
Details
__construct()
__construct.
Constructs EventConfig object.
bool
avoidMethod(string $method)
avoidMethod.
Tells libevent to avoid specific event method.
bool
requireFeatures(int $feature)
requireFeatures.
Enters a required event method feature that the application demands.
bool
setFlags(int $flags)
Since: libevent version 2.0.2-alpha
Sets one or more flags to configure what parts of the eventual EventBase will be initialized, and how they'll work
void
setMaxDispatchInterval(int $max_interval, int $max_callbacks, int $min_priority)
setMaxDispatchInterval.
Prevents priority inversion.