EventBufferEvent::setPriority

(PECL event >= 1.2.6-beta)

EventBufferEvent::setPriorityAssign a priority to a bufferevent

Descrierea

public EventBufferEvent::setPriority ( int $priority ) : bool

Assign a priority to a bufferevent

Avertizare

Only supported for socket buffer events

Parametri

priority

Priority value.

Valorile întoarse

Returns TRUE on success. Otherwise FALSE.