Changeset View
Changeset View
Standalone View
Standalone View
src/channel/PhutilChannel.php
| Show All 21 Lines | |||||
| * | * | ||||
| * NOTE: Channels are new (as of June 2012) and subject to interface changes. | * NOTE: Channels are new (as of June 2012) and subject to interface changes. | ||||
| * | * | ||||
| * @task io Reading and Writing | * @task io Reading and Writing | ||||
| * @task wait Waiting for Activity | * @task wait Waiting for Activity | ||||
| * @task update Responding to Activity | * @task update Responding to Activity | ||||
| * @task impl Channel Implementation | * @task impl Channel Implementation | ||||
| */ | */ | ||||
| abstract class PhutilChannel { | abstract class PhutilChannel extends Phobject { | ||||
| private $ibuf = ''; | private $ibuf = ''; | ||||
| private $obuf; | private $obuf; | ||||
| private $name; | private $name; | ||||
| private $readBufferSize; | private $readBufferSize; | ||||
| public function __construct() { | public function __construct() { | ||||
| $this->obuf = new PhutilRope(); | $this->obuf = new PhutilRope(); | ||||
| ▲ Show 20 Lines • Show All 388 Lines • Show Last 20 Lines | |||||