Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(397)  |  Call(397)  |  Derive(0)  |  Import(0)

src/k/a/kamaelia-HEAD/Sketches/JL/IRC/ircShakespeare.py   kamaelia(Download)
                if self.shutdown(): raise "DONE"
 
                if self.dataReady("inbox"):
                    msg = self.recv("inbox")
                    cmd = msg[0].upper().strip()
        Also passes the message on out of the "signal" outbox.
        """
        if self.dataReady("control"):
            msg = self.recv("control")
            if isinstance(msg, shutdownMicroprocess) or isinstance(msg, producerFinished):

src/k/a/kamaelia-HEAD/Sketches/CL/Topology3D/THF/Sketches/playground/Display3D.py   kamaelia(Download)
    def handleDisplayRequest(self):
            while self.dataReady("notify"):
                message = self.recv("notify")
                if isinstance(message, Axon.Ipc.producerFinished): ### VOMIT : mixed data types
                    surface = message.message

src/k/a/kamaelia-HEAD/Sketches/MH/ServiceWrapper.py   kamaelia(Download)
 
            while 1:
                while self.dataReady("inbox"):
                    req = self.recv("inbox")
                    if req[0] == "ADD":

src/k/a/kamaelia-HEAD/Sketches/MH/ircShakespeare.py   kamaelia(Download)
                if self.shutdown(): raise "DONE"
 
                if self.dataReady("inbox"):
                    msg = self.recv("inbox")
                    cmd = msg[0].upper().strip()
        Also passes the message on out of the "signal" outbox.
        """
        if self.dataReady("control"):
            msg = self.recv("control")
            if isinstance(msg, shutdownMicroprocess) or isinstance(msg, producerFinished):

src/k/a/kamaelia-HEAD/Sketches/THF/3D/playground/Display3D.py   kamaelia(Download)
    def handleDisplayRequest(self):
            while self.dataReady("notify"):
                message = self.recv("notify")
                if isinstance(message, Axon.Ipc.producerFinished): ### VOMIT : mixed data types
                    surface = message.message

src/k/a/kamaelia-HEAD/Sketches/RJL/SMTP/DeliveryQueueOne.py   kamaelia(Download)
            yield 1
 
            while self.dataReady("inbox"):
                msgtuple = self.recv("inbox")
                filename = msgtuple[0]

src/k/a/kamaelia-HEAD/Sketches/THF/Packages/Kamaelia/Community/THF/Kamaelia/UI/OpenGL/OpenGLDisplay.py   kamaelia(Download)
    def handleRequests(self):
        """ Handles service requests. """
        while self.dataReady("notify"):
            message = self.recv("notify")
 

src/k/a/Kamaelia-0.6.0/Kamaelia/Experimental/Services.py   Kamaelia(Download)
 
            while 1:
                while self.dataReady("inbox"):
                    req = self.recv("inbox")
                    if req[0] == "ADD":

src/k/a/Kamaelia-0.6.0/Kamaelia/UI/OpenGL/Interactor.py   Kamaelia(Download)
 
        # wait for response on displayrequest
        while not self.dataReady("callback"): yield 1
        self.identifier = self.recv("callback")
 
        while 1:
            yield 1
 
            while self.dataReady("control"):

src/k/a/kamaelia-HEAD/Sketches/CL/Topology3D/THF/Sketches/Display3D.py   kamaelia(Download)
            """
            # changed from if to while
            while self.dataReady("notify"):
                message = self.recv("notify")
                if isinstance(message, Axon.Ipc.producerFinished): ### VOMIT : mixed data types

Previous  4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12  Next