removed start parameter as don't need with StoreTimer

This commit is contained in:
Samuel M Smith 2014-03-10 13:36:59 -06:00
parent b88814d11d
commit f476da8e8d

View File

@ -34,7 +34,7 @@ class Transaction(object):
'''
Timeout = 5.0 # default timeout
def __init__(self, stack=None, kind=None, timeout=None, start=None,
def __init__(self, stack=None, kind=None, timeout=None,
reid=None, rmt=False, bcst=False, sid=None, tid=None,
txData=None, txPacket=None, rxPacket=None):
'''
@ -44,16 +44,11 @@ class Transaction(object):
self.stack = stack
self.kind = kind or raeting.PACKET_DEFAULTS['tk']
if timeout is None:
timeout = self.Timeout
self.timeout = timeout
self.timer = aiding.StoreTimer(self.stack.store, duration=self.timeout)
self.start = start # for synchronized starts that are not current time
if start: #enables synchronized starts not just current time
self.timer.restart(start=start)
# local estate is the .stack.estate
self.reid = reid # remote estate eid