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

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

src/c/i/circuits-bricks-0.3/tests/WebClient.py   circuits-bricks(Download)
 
        self.server = BaseServer(("localhost", 0))
        self.server.register(self.manager);
        Dispatcher().register(self.server)
        Root().register(self.manager)

src/c/i/circuits-bricks-0.3/tests/ScopeServers.py   circuits-bricks(Download)
 
        self.server1 = BaseServer(("localhost", 8000), channel="site1") 
        self.server1.register(self.manager);
        ScopeDispatcher(channel="site1").register(self.server1)
        Root1().register(self.manager)
 
        self.server2 = BaseServer(("localhost", 8001), channel="site2") 
        self.server2.register(self.manager);