コード例 #1
0
    def initPyroServer(self):
        Pyro.config.PYRO_ES_BLOCKQUEUE = False

        # Event listener
        Pyro.core.initClient()

        # Create publisher
        #self.publisher = Pyro.core.getProxyForURI("PYRONAME://" + Pyro.constants.EVENTSERVER_NAME)
        self.publisher = LivePublisher(self.log_message)
        self.subscriber = LiveSubscriber(self.publisher, self.log_message)