EventDnsBase::addNameserverIp

(PECL event >= 1.2.6-beta) Adds a nameserver to the DNS base public bool EventDnsBase::addNameserverIp ( string $ip ) Adds a nameserver to the evdns_base. Parameters: ip The nameserver string, either as an IPv4 address, an IPv6 address, an IPv4 address with a port ( IPv4:Port ), or an IPv6 address with a port ( [IPv6]:Port ). Returns: Returns

EventConfig::setMaxDispatchInterval

(No version information available, might only be in Git) Prevents priority inversion public void EventConfig::setMaxDispatchInterval ( int $max_interval , int $max_callbacks , int $min_priority ) Prevents priority inversion by limiting how many low-priority event callbacks can be invoked before checking for more high-priority events. Note: Available since libevent 2.1.0-alpha . Parameters:

EventConfig::requireFeatures

(PECL event >= 1.2.6-beta) Enters a required event method feature that the application demands public bool EventConfig::requireFeatures ( int $feature ) Enters a required event method feature that the application demands Parameters: feature Bitmask of required features. See EventConfig::FEATURE_* constants Returns:

EventConfig::__construct

(PECL event >= 1.2.6-beta) Constructs EventConfig object public EventConfig::__construct ( void ) Constructs EventConfig object which could be passed to EventBase::__construct() constructor. Returns: Returns EventConfig object. Examples: EventConfig::__construct() example <?php // Avoiding "select" method $cfg = new

EventConfig::avoidMethod

(PECL event >= 1.2.6-beta) Tells libevent to avoid specific event method public bool EventConfig::avoidMethod ( int $method ) Tells libevent to avoid specific event method(backend). See » Creating an event base . Parameters: method The backend method to avoid. See EventConfig constants . Returns: Returns TRUE on success, otherwise FALSE.

EventBufferEvent::writeBuffer

(PECL event >= 1.2.6-beta) Adds contents of the entire buffer to a buffer event's output buffer public bool EventBufferEvent::writeBuffer ( EventBuffer $buf ) Adds contents of the entire buffer to a buffer event's output buffer Parameters: buf Source EventBuffer object. Returns: Returns TRUE on success. Otherwise FALSE.

EventBufferEvent::write

(PECL event >= 1.2.6-beta) Adds data to a buffer event's output buffer public bool EventBufferEvent::write ( string $data ) Adds data to a buffer event's output buffer Parameters: data Data to be added to the underlying buffer. Returns: Returns TRUE on success. Otherwise FALSE.

EventBufferEvent::sslSocket

(PECL event >= 1.2.6-beta) Creates a new SSL buffer event to send its data over an SSL on a socket public static EventBufferEvent EventBufferEvent::sslSocket ( EventBase $base , mixed $socket , EventSslContext $ctx , int $state [, int $options ] ) Creates a new SSL buffer event to send its data over an SSL on a socket. Parameters: base Associated event base.

EventBufferEvent::sslRenegotiate

(PECL event >= 1.2.6-beta) Tells a bufferevent to begin SSL renegotiation. public void EventBufferEvent::sslRenegotiate ( void ) Tells a bufferevent to begin SSL renegotiation. Returns: No value is returned. Calling this function tells the SSL to renegotiate, and the buffer event to invoke appropriate callbacks. This is an advanced topic; this should be ge

EventBufferEvent::sslGetProtocol

(PECL event >= 1.10.0) Returns the name of the protocol used for current SSL connection. public string EventBufferEvent::sslGetProtocol ( void ) Returns the name of the protocol used for current SSL connection. Note: This function is available only if Event is compiled with OpenSSL support. Returns: Returns the name of the protocol used for current SSL connection.