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

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

src/g/r/gruvi-0.9.2/examples/echoserver1.py   gruvi(Download)
 
server = StreamServer(echo_handler)
server.listen(('0.0.0.0', args.port))
 
hub = get_hub()

src/g/r/gruvi-HEAD/examples/echoserver1.py   gruvi(Download)
 
server = StreamServer(echo_handler)
server.listen(('0.0.0.0', args.port))
 
hub = get_hub()

src/g/r/gruvi-0.9.2/tests/test_ssl.py   gruvi(Download)
                nbytes = stream.write(buf)
        server = StreamServer(echo_handler)
        server.listen(('localhost', 0), ssl=True,
                      keyfile=self.certname, certfile=self.certname)
        addr = server.transport.getsockname()

src/g/r/gruvi-HEAD/tests/test_ssl.py   gruvi(Download)
                nbytes = stream.write(buf)
        server = StreamServer(echo_handler)
        server.listen(('localhost', 0), ssl=True,
                      keyfile=self.certname, certfile=self.certname)
        addr = server.transport.getsockname()

src/g/r/gruvi-HEAD/tests/test_pyuv.py   gruvi(Download)
    def test_tcp(self):
        server = StreamServer(echo_handler)
        server.listen(('localhost', 0))
        addr = server.transport.getsockname()
        client = StreamClient()
    def test_pipe(self):
        server = StreamServer(echo_handler)
        path = self.pipename('temp.sock')
        server.listen(path)
        client = StreamClient()

src/g/r/gruvi-0.9.2/tests/test_pyuv.py   gruvi(Download)
    def test_tcp(self):
        server = StreamServer(echo_handler)
        server.listen(('localhost', 0))
        addr = server.transport.getsockname()
        client = StreamClient()
    def test_pipe(self):
        server = StreamServer(echo_handler)
        path = self.pipename('temp.sock')
        server.listen(path)
        client = StreamClient()