'Create a _SwitchBox with the protocol to switch to after being sent.
@param innerProto: the protocol instance to switch to.
@type innerProto: an IProtocol provider.'

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

    super(_SwitchBox, self).__init__(**kw)
    self.innerProto = innerProto
