def registerConnection(self, connection):
        assert connection not in self._connections
        self._connections.add(connection)

        # Add the connection also to the death candidates
        assert connection not in self._deathCandidates
        deathCall = self._reactor.callLater(self.CONNECT_TIMEOUT,
                                            self._killConnection, connection)
        self._deathCandidates[connection] = deathCall
dataset/ETHPy150Open rapyuta/rce/rce-core/rce/robot.py/RobotClient.registerConnection/original