#NEWLINE# def callRemote( self , command , **kwargs ) : #NEWLINE# #INDENT# '\n        Call the underlying AMP client, and delay the response until\n        :method:`respond` is called.\n\n        @param commandType: a subclass of C{amp.Command}.\n\n        @param kwargs: Keyword arguments taken by the command, a C{dict}.\n\n        @return: A C{Deferred} that fires when :method:`respond` is called,\n            with the response from the underlying cleint.\n        ' #NEWLINE# d = Deferred ( ) #NEWLINE# response = self . _client . callRemote ( command , ** kwargs ) #NEWLINE# self . _calls . append ( ( d , response ) ) #NEWLINE# return d