Part of twisted.protocols.amp View Source View In Hierarchy
Known subclasses: twisted.protocols.amp._SwitchBox, twisted.protocols.amp._TLSBox, twisted.protocols.amp.QuitBox
| Method | copy | Return another AmpBox just like me. |
| Method | serialize | Convert me into a wire-encoded string. |
| Method | __repr__ | Undocumented |
| Method | _sendTo | Serialize and send this box to a Amp instance. By the time it is being sent, several keys are required. I must have exactly ONE of: |
| Returns | a str encoded according to the rules described in the module docstring. | |
_ask _answer _error
If the '_ask' key is set, then the '_command' key must also be set.
| Parameters | proto | an AMP instance. |