예제 #1
0
def connect_channel(channel):
    """
    Creates an RPyC connection over the given ``channel``
    
    :param channel: the :class:`rpyc.core.channel.Channel` instance
    
    :returns: an RPyC connection exposing ``SlaveService``
    """
    return factory.connect_channel(channel, SlaveService)
예제 #2
0
파일: classic.py 프로젝트: chris-/rpyc
def connect_channel(channel):
    """
    Creates an RPyC connection over the given ``channel``
    
    :param channel: the :class:`rpyc.core.channel.Channel` instance
    
    :returns: an RPyC connection exposing ``SlaveService``
    """
    return factory.connect_channel(channel, SlaveService)
예제 #3
0
파일: classic.py 프로젝트: delattj/rpyc
def connect_channel(channel):
    return factory.connect_channel(channel, SlaveService)
예제 #4
0
def connect_channel(channel):
    return factory.connect_channel(channel, SlaveService)