示例#1
0
    def start_dispersy(self):
        DispersyExperimentScriptClient.start_dispersy(self)

        # as i'm cpu bound, lowering the number of bits of the elliptic curve
        self._my_member = self._dispersy.callback.call(self._dispersy.get_new_member, (u"NID_secp112r1",))

        self.community_args = (self._my_member,)
示例#2
0
    def start_dispersy(self):
        DispersyExperimentScriptClient.start_dispersy(self)

        # as i'm cpu bound, lowering the number of bits of the elliptic curve
        self._my_member = self._dispersy.callback.call(
            self._dispersy.get_new_member, (u"NID_secp112r1", ))

        self.community_args = (self._my_member, )
示例#3
0
    def start_dispersy(self):
        from Tribler.community.channel.preview import PreviewChannelCommunity
        from Tribler.community.channel.community import ChannelCommunity

        DispersyExperimentScriptClient.start_dispersy(self)
        self._dispersy.callback.call(self._dispersy.define_auto_load, (ChannelCommunity, (), {"integrate_with_tribler": False}))
        self._dispersy.callback.call(self._dispersy.define_auto_load, (PreviewChannelCommunity, (), {"integrate_with_tribler": False}))

        self.community_args = (self._my_member,)
示例#4
0
    def start_dispersy(self):
        from Tribler.community.channel.preview import PreviewChannelCommunity
        from Tribler.community.channel.community import ChannelCommunity

        DispersyExperimentScriptClient.start_dispersy(self)
        self._dispersy.define_auto_load(ChannelCommunity, self._my_member, (),
                                        {"integrate_with_tribler": False})
        self._dispersy.define_auto_load(PreviewChannelCommunity,
                                        self._my_member, (),
                                        {"integrate_with_tribler": False})
 def start_dispersy(self):
     DispersyExperimentScriptClient.start_dispersy(self)
     self.community_args = (self._my_member,)
示例#6
0
 def start_dispersy(self, autoload_discovery=True):
     DispersyExperimentScriptClient.start_dispersy(self, autoload_discovery=False)