Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Communications Framework (ECF) » How to develop a complete ECF base XMPP application
How to develop a complete ECF base XMPP application [message #618607] Wed, 16 May 2007 01:08 Go to next message
Eclipse User
Originally posted by: zhouziyu113.yahoo.com.cn

Hi ECF team
I want to develop a complete application base on xmpp protocol,and i have a Jabber/xmpp server Openfire, are there many
method in the ECF API can provider User register,add friends and so on...?
what i want was a really complete application base on XMPP with ECF xmpp provider.
Re: How to develop a complete ECF base XMPP application [message #618608 is a reply to message #618607] Wed, 16 May 2007 03:37 Go to previous message
Scott Lewis is currently offline Scott Lewis
Messages: 970
Registered: July 2009
Senior Member
Hi Given,

Given wrote:
> Hi ECF team
> I want to develop a complete application base on xmpp protocol,and i have a Jabber/xmpp server Openfire, are there many
> method in the ECF API can provider User register,add friends and so on...?

Yes. Specifically the IPresenceContainerAdapter exposes the following APIs:

IAccountManager:
http://www.eclipse.org/ecf/org.eclipse.ecf.docs/api/org/ecli pse/ecf/presence/IAccountManager.html

(create accounts, manage passwords, etc)

IRosterManager/IRosterSubscriptionManager/IRosterSubscriptio nSender;

http://www.eclipse.org/ecf/org.eclipse.ecf.docs/api/org/ecli pse/ecf/presence/roster/IRosterManager.html
http://www.eclipse.org/ecf/org.eclipse.ecf.docs/api/org/ecli pse/ecf/presence/roster/IRosterSubscriptionListener.html
http://www.eclipse.org/ecf/org.eclipse.ecf.docs/api/org/ecli pse/ecf/presence/roster/IRosterSubscriptionSender.html

(add/remove friends from buddy list, etc)

Several others relevant to IM person-to-person communication, multi-user
chat, roster and presence management. There is a IM/chat history API
also there, but it is not yet implemented by any providers.

> what i want was a really complete application base on XMPP with ECF xmpp provider.

The XMPP implementation currently being used (Jive Smack API v2.2.1) is
reasonably complete...as it has all the functions you listed...and also
supports peer to peer file transfer (which is exposed via the ECF
filetransfer API in org.eclipse.ecf.filetransfer plugin).

The ECF XMPP provider also exposes the ECF datashare API
(org.eclipse.ecf.datashare) which allows applications to create and use
channels (IChannel) for application to application (or tool to tool if
you prefer) communication. This uses XMPP message properties (part of
the XMPP spec) to support real-time collaboration.

Scott
Previous Topic:ECF + EMF
Next Topic:container cannot be null exception
Goto Forum:
  


Current Time: Thu Sep 18 05:52:10 GMT 2014

Powered by FUDForum. Page generated in 0.29816 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software