public function isConnected() { return $this->connectionManager->isConnected(); }
/** * Check that we are connected to a node, and if not connect * * @throws Disque\Connection\ConnectionException */ private function checkConnected() { if (!$this->client->isConnected()) { $this->client->connect(); } }