(PECL event >= 1.2.6-beta)
EventBufferEvent::__construct — Constructs EventBufferEvent object
$options= 0 [, callable
Create a buffer event on a socket, stream or a file descriptor. Passing
socket means that the socket should be created later, e.g. by means of EventBufferEvent::connect() .
Event base that should be associated with the new buffer event.
May be created as a stream(not necessarily by means of sockets extension)
One of EventBufferEvent::OPT_* constants , or
Read event callback. See About buffer event callbacks .
Write event callback. See About buffer event callbacks .
Status-change event callback. See About buffer event callbacks .
A variable that will be passed to all the callbacks.
Returns buffer event resource optionally associated with socket resource. */