TTDeadline

Deadline handling for TTPyton

class ticktalkpython.Deadline.TTDeadline(clock, interval)

TTDeadline objects are used as part of a with... construct to annotate an SQ with deadline information. Each SQ tagged with a TTDeadline must only be so tagged within the context of a TTPlanB handler.

Parameters:
  • clock (TTClock) – the clock to be used in implementing this deadline

  • interval (int) – the number of ticks of clock that indicates the maximum time that can elapse before a deadline violation is signalled