Class t.p.a._SwitchBox(AmpBox):

Part of twisted.protocols.amp View Source View In Hierarchy

Implementation detail of ProtocolSwitchCommand: I am a AmpBox which sets up state for the protocol to switch.

Split Table into Classes Show Methods in One Table

Line # Kind Name Docs
514 Method __init__ Create a _SwitchBox with the protocol to switch to after being sent.
525 Method __repr__ Undocumented
530 Method _sendTo Send me; I am the last box on the connection. All further traffic will be

Inherited from AmpBox:

Line # Kind Name Docs
431 Method copy Return another AmpBox just like me.
440 Method serialize Convert me into a wire-encoded string.
Line # Kind Name Docs
514 Method __init__ Create a _SwitchBox with the protocol to switch to after being sent.
525 Method __repr__ Undocumented
431 Method copy Return another AmpBox just like me.
440 Method serialize Convert me into a wire-encoded string.
530 Method _sendTo Send me; I am the last box on the connection. All further traffic will be
def __init__(self, innerProto, **kw): (source)
Create a _SwitchBox with the protocol to switch to after being sent.
ParametersinnerProtothe protocol instance to switch to. (type: an IProtocol provider. )
def __repr__(self): (source)
Undocumented
def _sendTo(self, proto): (source)
Send me; I am the last box on the connection. All further traffic will be over the new protocol.
API Documentation for Twisted, generated by pydoctor at 2008-10-26 16:12:37.