Part of twisted.protocols.amp View Source View In Hierarchy
Method | __init__ | Create a _SwitchBox with the protocol to switch to after being sent. |
Method | __repr__ | Undocumented |
Method | _sendTo | Send me; I am the last box on the connection. All further traffic will be over the new protocol. |
Inherited from AmpBox:
Method | copy | Return another AmpBox just like me. |
Method | serialize | Convert me into a wire-encoded string. |
Parameters | innerProto | the protocol instance to switch to. (type: an IProtocol provider. ) |