Part of twisted.protocols.amp View Source View In Hierarchy
| Method | __init__ | Create a ProtocolSwitchCommand. |
| Method | makeResponse | This is a hook which can be used to implement a custom factory |
| Method | _doCommand | When we emit a ProtocolSwitchCommand, lock the protocol, but don't actually |
Inherited from Command:
| Class | __metaclass__ | Metaclass hack to establish reverse-mappings for 'errors' and |
| Method | responder | Declare a method to be a responder for a particular command. |
| Parameters | _protoToSwitchToFactory | a ProtocolFactory which will generate the Protocol to switch to. |
| kw | Keyword arguments, encoded and handled normally as Command
would.
|