Files
@ 61164aaadbaa
Branch filter:
Location: light9/bin/subserver - annotation
61164aaadbaa
657 B
text/plain
change lightsim to numpy
Ignore-this: 96e2710b0afa0afec9e76c73d68f984d
Ignore-this: 96e2710b0afa0afec9e76c73d68f984d
bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 6a4e99505164 6a4e99505164 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 | # keep the database of submasters, and mix up the current client
# requests into dmx levels for dmxserver
class SubServe:
"""call the server with these messages"""
def allSubs(self):
"""list of all the known subs"""
def output(self,levels):
"""pass a dict of {sub : level} mappings"""
def editsub
class SubClient:
"""each client can receive these messages"""
def subAdded(self,newsub):
"""sub was just added to the db"""
def subRemove(self,pastsub):
"""this sub is about to be removed from the db"""
def subChange(self,sub):
"""this is a new version of an existing sub"""
|