def remote_prepareConnection(self, connID, key, auth):
        """ Prepare the endpoint for the connection attempt by adding the
            necessary connection information to the remote process.

            @param connID:      Unique ID which is used to identify the
                                connection and respond with the appropriate
                                key.
            @type  connID:      str

            @param key:         Key which is sent to the other side to
                                authenticate the endpoint.
            @type  key:         str

            @param auth:        Authenticator which is used to validate the
                                key received from the other side.
            @type  auth:        twisted.spread.pb.RemoteReference
        """
        assert connID not in self._pendingConnections
        self._pendingConnections[connID] = [key, auth]
dataset/ETHPy150Open rapyuta/rce/rce-core/rce/slave/endpoint.py/Endpoint.remote_prepareConnection/original