Property | Type | Description | |
---|---|---|---|
$buffer | Kraken\Util\Buffer\BufferInterface | ||
$listening | boolean | ||
$paused | boolean |
Method | Description | |
---|---|---|
__construct ( resource $resource, Kraken\Loop\LoopInterface $loop, boolean $autoClose = true ) | ||
__destruct ( ) | ||
close ( ) | ||
getBufferSize ( ) | ||
handleClose ( ) | Handle close. | |
handleData ( ) | Handle the incoming stream. | |
handleWrite ( ) | Handle the outcoming stream. | |
isPaused ( ) | ||
pause ( ) | ||
resume ( ) | ||
setBufferSize ( $bufferSize ) | ||
write ( $text ) |
Method | Description | |
---|---|---|
writeEnd ( ) |
public __construct ( resource $resource, Kraken\Loop\LoopInterface $loop, boolean $autoClose = true ) | ||
$resource | resource | |
$loop | Kraken\Loop\LoopInterface | |
$autoClose | boolean |
protected BufferInterface,Kraken\Util\Buffer $buffer | ||
return | Kraken\Util\Buffer\BufferInterface |