incubator-nuvem-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john pradeep <>
Subject XMPP: Design Discussion
Date Thu, 11 Nov 2010 22:41:04 GMT
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) {} });


  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message