Part of twisted.protocols.amp View Source View In Hierarchy
Known subclasses: twisted.protocols.amp._SwitchBox, twisted.protocols.amp._TLSBox, twisted.protocols.amp.QuitBox
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 431 | Method | copy | Return another AmpBox just like me. |
| 440 | Method | serialize | Convert me into a wire-encoded string. |
| 479 | Method | __repr__ | Undocumented |
| 463 | Method | _sendTo | Serialize and send this box to a Amp instance. By the time it is being |
| Returns | a str encoded according to the rules described in the module docstring. | |
_ask _answer _errorIf the '_ask' key is set, then the '_command' key must also be set.
| Parameters | proto | an AMP instance. |