_read(); } /** * Writes a single message to the server. This cannot be called after * writesDone is called. * @param $value The message to send */ public function write($value) { $this->_write($value); } /** * Indicate that no more writes will be sent */ public function writesDone() { $this->_writesDone(); } /** * Wait for the server to send the status, and return it. * @return object The status object, with integer $code and string $details * members */ public function getStatus() { return $this->_getStatus(); } }