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

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

src/i/n/indextank-service-HEAD/nebu/api_linked_rpc.py   indextank-service(Download)
def getThriftLogWriterClient(host, port, timeout_ms=500):
    protocol, transport = __getThriftProtocolTransport(host,port,timeout_ms)
    client = LogWriter.Client(protocol)
    transport.open()
    return client
 
def getThriftLogReaderClient(host, port, timeout_ms=None):
    protocol, transport = __getThriftProtocolTransport(host,port,timeout_ms)
    client = LogWriter.Client(protocol)

src/i/n/indextank-service-HEAD/backoffice/api_linked_rpc.py   indextank-service(Download)
def getThriftLogWriterClient(host, port, timeout_ms=500):
    protocol, transport = __getThriftProtocolTransport(host,port,timeout_ms)
    client = LogWriter.Client(protocol)
    transport.open()
    return client
 
def getThriftLogReaderClient(host, port, timeout_ms=None):
    protocol, transport = __getThriftProtocolTransport(host,port,timeout_ms)
    client = LogWriter.Client(protocol)

src/i/n/indextank-service-HEAD/api/rpc.py   indextank-service(Download)
def getThriftLogWriterClient(host, port, timeout_ms=500):
    protocol, transport = __getThriftProtocolTransport(host,port,timeout_ms)
    client = LogWriter.Client(protocol)
    transport.open()
    return client
 
def getThriftLogReaderClient(host, port, timeout_ms=None):
    protocol, transport = __getThriftProtocolTransport(host,port,timeout_ms)
    client = LogWriter.Client(protocol)