incubator-nuvem-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john pradeep <yehohan...@gmail.com>
Subject Re: XMPP: Design Discussion
Date Thu, 11 Nov 2010 23:05:16 GMT
I have started a JIRA item for discussion -
https://issues.apache.org/jira/browse/NUVEM-4

<https://issues.apache.org/jira/browse/NUVEM-4>Thanks,
John

On Fri, Nov 12, 2010 at 4:11 AM, john pradeep <yehohanan7@gmail.com> wrote:

> 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
>
>

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