def __init__(self, options, config=None):
    super(XMPPTransport, self).__init__(options, config=config)
    self.ping_call = LoopingCall(self.send_ping)
    self.presence_call = LoopingCall(self.send_presence)
def __init__(self, options, config=None):
    super(XMPPTransport, self).__init__(options, config=config)
    self.ping_call = LoopingCall(self.send_ping)
    self.presence_call = LoopingCall(self.send_presence)