Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

EventBufferEvent::setPriority

(PECL event >= 1.2.6-beta)

EventBufferEvent::setPriorityAssign a priority to a bufferevent

Description

public bool EventBufferEvent::setPriority ( int $priority )

Assign a priority to a bufferevent

Warning

Only supported for socket buffer events

Parameters

priority

Priority value.

Return Values

Returns TRUE on success. Otherwise FALSE.