Opened 14 years ago
Closed 11 years ago
#17 closed enhancement (wontfix)
add a disconnect method to XMPPClient
Reported by: | tofu | Owned by: | ralphm |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | generic | Keywords: | |
Cc: |
Description
It would be nice to have a method to disconnect and stop for the wokkel XMPPClient class.
Maybe something like the following :
def stop(self): self.xmlstream.sendFooter() self.stopService() reactor.stop()
Change History (4)
comment:1 Changed 14 years ago by jack
comment:2 Changed 14 years ago by tofu
- branch set to branches/client-disconnect-17
comment:3 Changed 14 years ago by tofu
comment:4 Changed 11 years ago by ralphm
- Resolution set to wontfix
- Status changed from new to closed
This is partly also provided by stopService. I'm not convinced there should be any code in XMPPClient to stop the reactor. Closing.
Note: See
TracTickets for help on using
tickets.
There should probably be oen that does not stop the reactor as well. I can see where some service (like Punjab) might connect and disconnect many sub-services.