예제 #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()