def __init__(self, bot_client, jid, password): self.registered = False self.server_url = None self.port_no = 0 self.block = False self.event_handlers = [] self.registered_plugins = [] self.response = None XmppClient.__init__(self, bot_client, jid, password)
def create_client(self, username, password): return XmppClient(self, username, password)