twisted.protocols.amp.IResponderLocator(Interface) interface documentationtwisted.protocols.amp
(View In Hierarchy)
Known implementations: twisted.protocols.amp.CommandLocator, twisted.protocols.amp.SimpleStringLocator
An application object which can look up appropriate responder methods for AMP commands.
| Method | locateResponder | Locate a responder method appropriate for the named command. | 
Locate a responder method appropriate for the named command.
| Parameters | name | the wire-level name (commandName) of the AMP command to be responded to. (type: bytes) | 
| Returns | a 1-argument callable that takes an AmpBoxwith 
argument values for the given command, and returns anAmpBoxcontaining
argument values for the named command, or aDeferredthat 
fires the same. | |