コード例 #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
ファイル: classic.py プロジェクト: thomashigdon/rpyc
def connect_channel(channel):
    return factory.connect_channel(channel, SlaveService)