def __init__(self,
                 stack,
                 uid=None,
                 name=None,
                 device=None,
                 timeout=None,
                 redoTimout=None,
                 tx=None,
                 rx=None):
        self.stack = stack
        self.uid = uid if uid is not None else tuuid()
        self.name = name or self.__class__.__name__
        self.device = device
        self.timeout = timeout if timeout is not None else self.Timeout
        self.timer = StoreTimer(stack.stamper, duration=self.timeout)
        self.redoTimeout = redoTimeout if redoTimout is not None else self.RedoTimeout
        self.redoTimer = StoreTimer(stack.stamper, duration=self.redoTimeout)
        self.rx = rx  # latest message received
        self.tx = tx  # initial message to transmit
        self.done = False
        self.failed = False
        self.acked = False
Given a bytestring, deserialize into a value according to the protocol
dataset/ETHPy150Open ioflo/ioflo/ioflo/aio/proto/exchanging.py/Exchange.__init__--crossover with--dataset/ETHPy150Open datastax/python-driver/cassandra/cqltypes.py/_CassandraType.deserialize