Mercurial > code > home > repos > light9
view nodes/delay.py @ 118:2c25a69c084d
now tracks update frequencies of the server and each client
now tracks update frequencies of the server and each client
now forgets clients that haven't submitted a value in 5sec
refactored sendlevels into a few methods
new cmdline option --fast-updates to dump every DMX transmission to the console
author | drewp |
---|---|
date | Fri, 13 Jun 2003 13:59:08 +0000 |
parents | 45b12307c695 |
children |
line wrap: on
line source
"""delay node outputs the input a fixed time later""" class DelayOps(Ops): def clocked(self, input, output, stateaccess): stateaccess.buffer class Delay(Node): def __init__(self): Node.__init__(self) def getnodeparams(self): return {'delay':State.Time}