public function executeCommand(CommandInterface $command) { $this->writeRequest($command); return $this->readResponse($command); }