#NEWLINE# def callRemote( self , command , **kwargs ) : #NEWLINE# #INDENT# '\n        Return a previously registered response.\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 with the registered response for\n            this particular combination of command and arguments.\n        ' #NEWLINE# self . calls . append ( ( command , kwargs ) ) #NEWLINE# command . makeArguments ( kwargs , AMP ( ) ) #NEWLINE# if ( 'eliot_context' in kwargs ) : #NEWLINE# #INDENT# kwargs . pop ( 'eliot_context' ) #NEWLINE# #UNINDENT# return succeed ( self . _responses [ self . _makeKey ( command , kwargs ) ] )