Changeset 159:bbb746f79718

Nov 14, 2011, 8:53:11 PM (11 years ago)
Ralph Meijer <ralphm@…>
160:33ef849a77d8, 163:77fe6a9dcf91
105:5d8f1609aaf3 (diff), 158:0c6854e5a924 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.

Add client side support for XMPP Multi-User Chat.

Author: tofu, ralphm.
Reviewer: ralphm.
Fixes #24.

This adds wokkel.muc with client side support for the XMPP Multi-User Chat
protocol along with a simple MUC client example:

  • Adds parsers and containers for MUC protocol extensions to presence stanzas and for iq exchanges, tied together in a subprotocol handler MUCClientProtocol.
  • Provides a higher level handler MUCClient that keeps record of Rooms
  • the client is in and Users that occupy it.
  • Adds read-only status property to wokkel.xmppim.AvailabilityPresence that is a single item view on the statuses instance variable.
  • Splits core functionality from PresenceProtocol into BasePresenceProtocol. This allows MUCClientProtocol to base off it, with different requirements to handling incoming presence and sending out MUC-annotated presence to rooms.
  • Add wokkel.xmppim.Message, a basic message container that derives from wokkel.generic.Stanza to parse and render message stanzas.
(No files)

Note: See TracChangeset for help on using the changeset viewer.