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/AB/Bookmarks-Dev/SocialBookmarks/ComponentBoxTracer.py   kamaelia(Download)
        self.link((self,"_to_tracer_control"), (self.tracer,"control"))
 
        self.addChildren(self.traced,self.tracer)
        self.traced.activate()
        self.tracer.activate()

src/k/a/kamaelia-HEAD/Sketches/AB/backup/Bookmarks/ComponentBoxTracer.py   kamaelia(Download)
        self.link((self,"_to_tracer_control"), (self.tracer,"control"))
 
        self.addChildren(self.traced,self.tracer)
        self.traced.activate()
        self.tracer.activate()

src/k/a/kamaelia-HEAD/Sketches/MPS/Bookmarks/ComponentBoxTracer.py   kamaelia(Download)
        self.link((self,"_to_tracer_control"), (self.tracer,"control"))
 
        self.addChildren(self.traced,self.tracer)
        self.traced.activate()
        self.tracer.activate()

src/k/a/kamaelia-HEAD/Sketches/JTL/HTTPServer.py   kamaelia(Download)
#              sink=(self,"outbox"),
#               passthrough=1)
      self.addChildren(self.mimehandler, self.httphandler)
 
      return newComponent( self.mimehandler, self.httphandler )#, toString ] )
         self.link(source=(self.rfa, "signal"),
                     sink=(self, "_sigfromfile"))
         self.addChildren(self.rfa)
#         self.send(str(theData), "outbox")
#         sig = producerFinished(self)

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Kamaelia/Internet/ThreadedTCPClient.py   kamaelia(Download)
      def initialiseComponent(self):
         self.client = ThreadedTCPClient("127.0.0.1",self.serverport)
         self.addChildren(self.client,self.display,self.displayerr)
         self.addChildren(self.server, self.display)
         self.link((self.client,"outbox"), (self.display,"inbox") )

src/k/a/Kamaelia-0.6.0/Kamaelia/Codec/Vorbis.py   Kamaelia(Download)
      def initialiseComponent(self):
         self.addChildren(self.source,self.decoder,self.sink)
 
         self.link((self.source,"outbox"), (self.decoder,"inbox") )
         self.link((self.source,"signal"), (self.decoder, "control") )

src/k/a/kamaelia-HEAD/Sketches/JMB/Logger/Log.py   kamaelia(Download)
 
        #add the components as children
        self.addChildren(self.subscriber, self.bplane)
        self.link((self.subscriber,  'outbox'),  (self,  'inbox'))
        self.link((self, 'signal'), (self.bplane, 'control'))

src/k/a/Kamaelia-0.6.0/Kamaelia/Protocol/HTTP/HTTPClient.py   Kamaelia(Download)
        self.link( (self.httpparser, "signal"), (self, "_parsercontrol") )
 
        self.addChildren( self.tcpclient, self.httpparser )
        self.tcpclient.activate()
        self.httpparser.activate()
        # now create our Carousel subcomponent
        self.carousel = Carousel(componentFactory=makeSSHTTPClient)
        self.addChildren(self.carousel)
        self.link((self, "_carouselnext"),        (self.carousel, "next"))
        self.link((self, "_carouselsignal"),      (self.carousel, "control"))

src/k/a/Kamaelia-0.6.0/Kamaelia/Internet/TCPClient.py   Kamaelia(Download)
      selectorService, selectorShutdownService, newSelector = Selector.getSelectorServices(self.tracker)
      if newSelector:
         self.addChildren(newSelector)
 
      CSA = ConnectedSocketAdapter(sock, selectorService) #  self.createConnectedSocket(sock)
      self.addChildren(CSA)
      def initialiseComponent(self):
         self.client = TCPClient("127.0.0.1",self.serverport, delay=1)
         self.addChildren(self.server,self.client,self.display)
#         self.addChildren(self.server, self.display)
         self.link((self.client,"outbox"), (self.display,"inbox") )

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Kamaelia/Protocol/MimeRequestComponent.py   kamaelia(Download)
         self.link((decoder, "outbox"), (self, "inbox"))
 
         self.addChildren(reader,decoder)
         yield newComponent(*(self.children))
 

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