コード例 #1
0
def connect_stdpipes(service=VoidService, config={}):
    """creates a connection over the standard input/output pipes
    service - the local service to expose (defaults to Void)
    config - configuration dict"""
    return connect_stream(PipeStream.from_std(),
                          service=service,
                          config=config)
コード例 #2
0
def connect_pipes(input, output, service=VoidService, config={}):
    """creates a connection over the given input/output pipes
    input - the input pipe
    output - the output pipe
    service - the local service to expose (defaults to Void)
    config - configuration dict"""
    return connect_stream(PipeStream(input, output),
                          service=service,
                          config=config)
コード例 #3
0
ファイル: factory.py プロジェクト: yaelmi3/rpyc
def connect_stdpipes(service = VoidService, config = {}):
    """
    creates a connection over the standard input/output pipes

    :param service: the local service to expose (defaults to Void)
    :param config: configuration dict

    :returns: an RPyC connection
    """
    return connect_stream(PipeStream.from_std(), service = service, config = config)
コード例 #4
0
ファイル: factory.py プロジェクト: genba/rpyc
def connect_stdpipes(service = VoidService, config = {}):
    """
    creates a connection over the standard input/output pipes
    
    :param service: the local service to expose (defaults to Void)
    :param config: configuration dict
    
    :returns: an RPyC connection
    """
    return connect_stream(PipeStream.from_std(), service = service, config = config)
コード例 #5
0
ファイル: factory.py プロジェクト: genba/rpyc
def connect_pipes(input, output, service = VoidService, config = {}):
    """
    creates a connection over the given input/output pipes
    
    :param input: the input pipe
    :param output: the output pipe
    :param service: the local service to expose (defaults to Void)
    :param config: configuration dict
    
    :returns: an RPyC connection
    """
    return connect_stream(PipeStream(input, output), service = service, config = config)
コード例 #6
0
ファイル: factory.py プロジェクト: fruch/rpyc
def connect_stdpipes(service=VoidService, config={}):
    """creates a connection over the standard input/output pipes
    service - the local service to expose (defaults to Void)
    config - configuration dict"""
    return connect_stream(PipeStream.from_std(), service=service, config=config)