Sunday, June 15, 2008

Third week of GSoC

During last two weeks I realized the design I proposed in previous post was not good because component plugging of socket wrapper into client instance in xmpppy does not allow to use more than one wrapper per client, plus the wrapper actually does more than I need for TCP connection object. Now I am refactoring NonBlockingTcp and NonBlockingClient classes in xmpppy and next step will be doing a BOSHTransport owning one or more instances of NonBlockingTcp. BOSHTransport should be pluggable to client just like usual socket wrapper. It is still a bit likely to change so I will keep class diagram for next week.
In meantime, I wrote a template for unit testing of NonBlockingClient and installed openfire, punjab and araneo on my virtual server for testing and jwchat on localhost for traffic analysis.

You may have noticed my posts bubbling up on planet jabber. Some of them got on top of aggregated feed more than once. It happened always after editing a post and it's because
  1. Blogger adds/updates the <updated> tag in feed on each post modification.
  2. Planet reader sorts entries by time in <updated> instead of <published>.
I didn't find a way how to ignore entry updates in planet reader yet.. or how to exclude update time from Blogger feed. I'm thinking about moving to Wordpress (blog can be imported from Blogger) or doing some magic with the feed on my own. But until then, there goes the idea of maintaining info in posts (and correcting typos :( ).

The list of XMPP soft supporting BOSH can be found on wiki now. I can see there a few more tigase projects I didn't know about, cool.

No comments: