Changeset 159:bbb746f79718

Timestamp:
Nov 14, 2011, 8:53:11 PM (9 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
Children:
160:33ef849a77d8, 163:77fe6a9dcf91
Parents:
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.
Message:

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.