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

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

src/k/a/kamaelia-HEAD/Sketches/MH/filereading/Carousel.py   kamaelia(Download)
            # create new child
            newChild = self.factory(arg)
            self.addChildren( newChild )
 
            # set flag for handleFinishedChild's sake

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Kamaelia/Apps/SA/Chassis.py   kamaelia(Download)
 
 
        self.addChildren(self.child)
 
    # FIXME: Really a fixme for Axon, but it strikes me (MPS) that what a

src/k/a/kamaelia-HEAD/Sketches/MH/OnDemandBackplane/Backplane.py   kamaelia(Download)
 
        yield newComponent(self.splitter)
        self.addChildren(self.splitter)
        self.splitter = None
        # FIXME: If we had a way of simply getting this to "exec" a new component in our place,
        self.link( (plug,"outbox"), (self,"outbox"), passthrough=2)
        self.link( (plug,"signal"), (self,"signal"), passthrough=2)
        self.addChildren(plug)
        yield newComponent(plug)
        # wait until all child component has terminated

src/k/a/kamaelia-HEAD/Sketches/MH/RTP/Selector.py   kamaelia(Download)
 
        self.selector =  _SelectorCore(self.notifySocket)
        self.addChildren(self.selector)
        self.selector.activate()
        self.link((self,"_toNotify"),(self.selector, "notify"))

src/k/a/Kamaelia-0.6.0/Kamaelia/Util/Chargen.py   Kamaelia(Download)
 
        self.link((chargen,"outbox"), (display,"inbox"))
        self.addChildren(chargen, display)
        yield Axon.Ipc.newComponent(*(self.children))
        while 1:

src/k/a/Kamaelia-0.6.0/Kamaelia/Internet/Multicast_receiver.py   Kamaelia(Download)
 
        self.link((receiver,"outbox"), (display,"inbox"))
        self.addChildren(receiver, display)
        yield Axon.Ipc.newComponent(*(self.children))
        while 1:

src/k/a/kamaelia-HEAD/Sketches/RJL/Kamaelia/Community/RJL/Kamaelia/Protocol/HTTP/websiteMinimal.py   kamaelia(Download)
        self.link((self.filereader, "outbox"), (self, "_fileread"))
        self.link((self.filereader, "signal"), (self, "_filecontrol"))
        self.addChildren(self.filereader)
        self.filereader.activate()
        yield 1        

src/k/a/kamaelia-HEAD/Sketches/RJL/Packages/Kamaelia/Community/RJL/Kamaelia/Protocol/HTTP/Handlers/Minimal.py   kamaelia(Download)
        self.link((self.filereader, "outbox"), (self, "_fileread"))
        self.link((self.filereader, "signal"), (self, "_filecontrol"))
        self.addChildren(self.filereader)
        self.filereader.activate()
        yield 1        

src/k/a/kamaelia-HEAD/Sketches/MH/Timer/Timer.py   kamaelia(Download)
        def main(self):
            timer = Timer().activate()
            self.addChildren(timer)
            self.link((self,"_toTimer"),(timer,"inbox"))
            self.link((timer,"outbox"),(self,"_fromTimer"))

src/k/a/kamaelia-HEAD/Sketches/MH/MobileReframe/CarouselRewrite.py   kamaelia(Download)
    def instantiateNewChild(self, args):
        # create new child
        newChild = self.factory(args)
        self.addChildren( newChild )
 

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