view bin/subserver @ 815:d7f1f868eb6c

toplevel window pos is saved in the graph. Patch conflicts no longer break as hard, but they don't exactly reset themselves right yet eiher Ignore-this: 56f96fd0b1a8602abc4e41851685794c
author drewp@bigasterisk.com
date Sat, 20 Oct 2012 21:52:10 +0000
parents 6a4e99505164
children 33a5a98e9bf1
line wrap: on
line source

# 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"""