'Create a ProtocolSwitchCommand.
@param _protoToSwitchToFactory: a ProtocolFactory which will generate
the Protocol to switch to.
@param kw: Keyword arguments, encoded and handled normally as
L{Command} would.'

def __init__(self, _protoToSwitchToFactory, **kw):

    self.protoToSwitchToFactory = _protoToSwitchToFactory
    super(ProtocolSwitchCommand, self).__init__(**kw)
