Hello All, I am interested in working on the XMPP for Nuvem. having gone through the XMPP spec for interest, i have come up with a very high level design just to initiate discussion on how to proceed with XMPP support.
Please find the attached class diagram where i try to give a very high level brief idea of how we can design the XMPP support. the actual design however will be much more neater which i will work on once i get the initial feedback/suggestion from you all. The fundamental ideas considered: 1. Create DTO kind of objects for encapsulating messages, address (JID, from, to etc) 2. Create Endpoints for each XMPP cloud platform APIs 3. The Endpoint will be like a façade to initiate message sending and maintain listeners for receiving messages 4. The client would call Nuvem API like below. XMPPEndPoint endpoint = XMPPEndpointFactory.getXMPPEndpoint(); endpoint.registerListener(new MessageListener() { public messageRecieved(Message message) {} }); endPoint.sendContent(Payload).from(Address).to(Address); Regards, John