예제 #1
0
파일: http.py 프로젝트: berggren/fordrop
class Root:
    def __init__(self, args):
        self.args = args
        self.xmpp = Client(self.args.jid,
                           self.args.password,
                           pubsub=False,
                           priority=127)
        self.xmpp.run(args.server, threaded=True)
        self.pubsub = self.xmpp['xep_0060']
예제 #2
0
파일: http.py 프로젝트: berggren/fordrop
class Root:
    def __init__(self, args):
        self.args = args
        self.xmpp = Client(self.args.jid, self.args.password, pubsub=False, priority=127)
        self.xmpp.run(args.server, threaded=True)
        self.pubsub = self.xmpp['xep_0060']