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/RJL/Kamaelia/Community/RJL/Kamaelia/Protocol/HTTP/HTTPServer.py   kamaelia(Download)
        self.link( (self.httphandler, "signal"), (self, "http-signal") )
 
        self.addChildren(self.mimehandler, self.httphandler)
        self.httphandler.activate()
        self.mimehandler.activate()
        self.link((self, "_handleroutbox"), (self.handler, "inbox"))
        self.link((self, "_handlersignal"), (self.handler, "control"))
        self.addChildren(self.handler) 
        self.handler.activate()
 

src/k/a/kamaelia-HEAD/Sketches/RJL/Packages/Kamaelia/Community/RJL/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-HEAD/Sketches/RJL/Kamaelia/Community/RJL/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-HEAD/Code/Python/Kamaelia/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/Code/Python/Kamaelia/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/Util/PassThrough.py   Kamaelia(Download)
            self.passT   = PassThrough()
            self.dest   = ConsoleEchoer()
            self.addChildren(self.source, self.passT, self.dest)
 
            self.link((self.source, "outbox"),  (self.passT, "inbox"))

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Kamaelia/Apps/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/RJL/HTTP/HTTPServer.py   kamaelia(Download)
        self.link( (self.httphandler, "signal"), (self, "http-signal") )
 
        self.addChildren(self.mimehandler, self.httphandler) #self.httphandler.filereader)
        self.httphandler.activate()
        self.mimehandler.activate()
        self.link((self.handler, "signal"), (self, "_handlercontrol"))        
        self.link((self, "_handleroutbox"), (self.handler, "inbox"))
        self.addChildren(self.handler) 
        self.handler.activate()
 

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/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/Sketches/RJL/HTTP/HTTPClient.py   kamaelia(Download)
        self.link( (self.httpparser, "signal"), (self, "_parsercontrol") )
 
        self.addChildren( self.tcpclient, self.httpparser )
        self.tcpclient.activate()
        self.httpparser.activate()
 
        self.carousel = Carousel(componentFactory=makeSSHTTPClient)
        self.addChildren(self.carousel)
        self.link((self, "_carouselnext"),        (self.carousel, "next"))
        self.link((self, "_carouselsignal"),      (self.carousel, "control"))

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