- changed title to Lines printed by ConsoleDebugger should refer to the XmppClient "ID" they belong to
Lines printed by ConsoleDebugger should refer to the XmppClient "ID" they belong to
First of, thanks for creating such a great library! We've previously used Smack and are in the process of switching to Babbler now, in particular to get support for WebSockets!
One thing I noticed while using ConsoleDebugger
: There's no way of knowing which stanza belongs to which XmppClient
. Smack used "index numbers" for their debugging output, i.e. the first opened connection would get 0, the second 1 and so on. I didn't see an easy way to add this myself, thus this proposal.
Edit: A bit more context: We're using Babbler to write automated tests that involve multiple connections, e.g. to simulate sending a message from one user to another.
Comments (12)
-
Account Deleted reporter -
Account Deleted reporter - edited description
-
repo owner Hi, do you prefer a counter (index), which increments for each session, or can we use some generated value, e.g. the stream id, which is generated by the server?
-
Account Deleted reporter The stream id should work!
-
repo owner - changed status to resolved
-
Account Deleted reporter Thanks! 👍
Is there a way to be notified of releases?
-
repo owner I usually write a mail to the Google group.
-
Account Deleted reporter I joined. Thanks again!
-
repo owner You can also write your own debugger implementation of course and print out whatever suits you. I haven't planned a new release yet.
-
repo owner -
repo owner Fix version: 0.7.5
-
repo owner - changed status to closed
- Log in to comment