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

All Samples(434)  |  Call(1)  |  Derive(287)  |  Import(146)

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/UsingChassis/PAR/par_shutdown_simple.py   kamaelia(Download)
class timedShutdown(Axon.ThreadedComponent.threadedcomponent):
    TTL = 1
    def main(self):
        time.sleep(self.TTL)
        self.send(Axon.Ipc.producerFinished(), "signal")
 
class ChattySlowShutdown(Axon.ThreadedComponent.threadedcomponent):

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Examples/UsingChassis/PAR/par_shutdown_simple.py   kamaelia(Download)
class timedShutdown(Axon.ThreadedComponent.threadedcomponent):
    TTL = 1
    def main(self):
        time.sleep(self.TTL)
        self.send(Axon.Ipc.producerFinished(), "signal")
 
class ChattySlowShutdown(Axon.ThreadedComponent.threadedcomponent):

src/k/a/kamaelia-HEAD/Sketches/RJL/Torrent/Examples/example4.py   kamaelia(Download)
from PureTransformer import PureTransformer
from TorrentIPC import *
from Axon.ThreadedComponent import threadedcomponent
from Axon.Component import component
 
class CheapAndCheerfulClock(threadedcomponent):

src/k/a/kamaelia-HEAD/Sketches/MPS/Experiments/DistPipe/ExampleClasses.py   kamaelia(Download)
import time
from Axon.ThreadedComponent import threadedcomponent
from Axon.Component import component
 
class Producer(threadedcomponent):

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/UsingChassis/Graphline/LinkedShutdown.py   kamaelia(Download)
class Pinger(Axon.ThreadedComponent.threadedcomponent):
    tosend = [ ]
    box = "signal"
    delay = 0.3
    def main(self):
class Whinger(Axon.ThreadedComponent.threadedcomponent):
    def main(self):
        while not self.dataReady("control"):
            print "WHINGER: waiting for shutdown"
            time.sleep(1)

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/UsingChassis/Graphline/FailShutdown.py   kamaelia(Download)
class Pinger(Axon.ThreadedComponent.threadedcomponent):
    tosend = [ ]
    box = "signal"
    delay = 0.3
    def main(self):
class Whinger(Axon.ThreadedComponent.threadedcomponent):
    def main(self):
        while not self.dataReady("control"):
            print "WHINGER: waiting for shutdown"
            time.sleep(1)

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/UsingChassis/Graphline/DemoShutdown.py   kamaelia(Download)
class Pinger(Axon.ThreadedComponent.threadedcomponent):
    tosend = [ ]
    box = "signal"
    delay = 0.3
    def main(self):
class Whinger(Axon.ThreadedComponent.threadedcomponent):
    def main(self):
        while not self.dataReady("control"):
            print "WHINGER: waiting for shutdown"
            time.sleep(1)

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Examples/UsingChassis/Graphline/LinkedShutdown.py   kamaelia(Download)
class Pinger(Axon.ThreadedComponent.threadedcomponent):
    tosend = [ ]
    box = "signal"
    delay = 0.3
    def main(self):
class Whinger(Axon.ThreadedComponent.threadedcomponent):
    def main(self):
        while not self.dataReady("control"):
            print "WHINGER: waiting for shutdown"
            time.sleep(1)

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Examples/UsingChassis/Graphline/FailShutdown.py   kamaelia(Download)
class Pinger(Axon.ThreadedComponent.threadedcomponent):
    tosend = [ ]
    box = "signal"
    delay = 0.3
    def main(self):
class Whinger(Axon.ThreadedComponent.threadedcomponent):
    def main(self):
        while not self.dataReady("control"):
            print "WHINGER: waiting for shutdown"
            time.sleep(1)

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Examples/UsingChassis/Graphline/DemoShutdown.py   kamaelia(Download)
class Pinger(Axon.ThreadedComponent.threadedcomponent):
    tosend = [ ]
    box = "signal"
    delay = 0.3
    def main(self):
class Whinger(Axon.ThreadedComponent.threadedcomponent):
    def main(self):
        while not self.dataReady("control"):
            print "WHINGER: waiting for shutdown"
            time.sleep(1)

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next