Files
@ d5858e9fa689
Branch filter:
Location: light9/bin/subserver - annotation
d5858e9fa689
644 B
text/plain
keyboardcomposer destroy fix and cleanups
- We were destroying KeyboardComposer a little too much. Fortunately,
we weren't passing the right number of arguments, so this was merely
an error.
- About the TODO comment removed: we don't need to use combine_dict
since Submaster logic will be changed entirely when we/if we move
to a SubServer world and keyboard composer will not be the wiser.
- We were destroying KeyboardComposer a little too much. Fortunately,
we weren't passing the right number of arguments, so this was merely
an error.
- About the TODO comment removed: we don't need to use combine_dict
since Submaster logic will be changed entirely when we/if we move
to a SubServer world and keyboard composer will not be the wiser.
bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 bb4d1e9b30c1 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"""
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"""
|