public function __construct($conn, LoopInterface $loop) { $this->conn = $conn; $this->pingSeq = 0; $this->pingRequests = []; $this->loop = $loop; }