コード例 #1
0
ファイル: messaging.py プロジェクト: kowalski/feat
 def new_channel(self, agent):
     c = Connection(self, agent)
     return c.initiate()
コード例 #2
0
ファイル: messaging.py プロジェクト: kowalski/feat
    def new_channel(self, agent):
        d = self._factory.get_client()
        channel_wrapped = Channel(self, d, self._factory)

        c = Connection(channel_wrapped, agent)
        return c.initiate()
コード例 #3
0
ファイル: messaging.py プロジェクト: pepribas/F3AT
 def get_connection(self, agent):
     c = Connection(self, agent)
     return c.initiate()