powered by Jive Software

XMPPBOSHConnection Patch

The patched file has 2 changes:

The first is to throw a DisconnectionEvent and set loggedIn to false when you receive a message of of type “terminate”.

The second is to not wait until requestCount goes back to 0 before trying to send more queued requests. This increases the repsonsiveness of the connection, as sometimes I was waiting 1 duration of the “wait” period for a message in the queue to go through. It is still in accordance with the spec, I believe.

Please check out the attached patch and leave feedback.

Thanks,

Karthik
xmppboshconnection.patch.zip (698 Bytes)