EventBufferEvent
PHP Manual

EventBufferEvent::setPriority

(PECL event >= 1.2.6-beta)

EventBufferEvent::setPriorityAssign a priority to a bufferevent

说明

public bool EventBufferEvent::setPriority ( int $priority )

Assign a priority to a bufferevent

Warning

Only supported for socket buffer events

参数

priority

Priority value.

返回值

Returns TRUE on success. Otherwise FALSE.


EventBufferEvent
PHP Manual