Files @ 3b73f0a58a54
Branch filter:

Location: light9/bin/subserver

David McClosky
Move general use gyro function get_sub to Submaster, make global Submasters object
- gyro's error subs now look like normal subs since they might reload and turn
into good subs.
- Also, add Submaster.fullsub which helps you make subs from channel names.
# 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"""