def __init__(self, name="ACS Event Admin Client"): ''' Just call superclass constructors here. ''' PySimpleClient.__init__(self, name) #dictionary which consists of all active channels #the keys here are the channelNames in string format self.channels = {} #so long as this evaluates to true, the thread continues executing self.running = 1 #start a new thread to continuously look for new channels in the naming #service self.getLogger().logInfo("Creating a thread to poll the CORBA Naming Service for new channels...") #Get the Naming Service helper class self.nt = NameTree.nameTree(getORB()) start_new_thread(self.pollNamingService, ()) return
def __init__(self, name): PySimpleClient.__init__(self, name)