twisted.protocols.amp.ProtocolSwitchCommand._doCommand(self, proto)
method documentationtwisted.protocols.amp.ProtocolSwitchCommand
View Source
When we emit a ProtocolSwitchCommand, lock the protocol, but don't actually switch to the new protocol unless an acknowledgement is received. If an error is received, switch back.