public function sendString($data = '', $supress_echo = true) { $data .= CRLF; if ($supress_echo) { $this->_echo_buffer->write($data); } $this->_write_buffer->write($data); $this->_stream->setInterest(IO_Stream_Interface::OPERATION_WRITE); return $this->_write_buffer->getOffset(); }