|
| Re: XMPP [message #523950 is a reply to message #523928] |
Mon, 29 March 2010 20:44  |
Scott Lewis Messages: 942 Registered: July 2009 |
Senior Member |
|
|
Hi Ireland,
Ireland wrote:
> Hi guys,
>
> I am trying to build IM client using;
>
> -Eclipse IDE
> -Smack API(with smack.jar files)
> -Openfire(as the server)
>
> I would like an advice on how to build this client using eclipse and am
> finding difficult on how to build a simple program that sends message
> from one client to another one using the server.
ECF uses the smack API (v 3.1) to implement our abstract presence API.
There is example code for creating a basic chat client that uses the
presence API (and smack provider) here:
org.eclipse.ecf.example.clients.applications.ChatRobotApplic ation
This class is in this project: org.eclipse.ecf.example.clients
See also the class:
org.eclipse.ecf.example.clients.XMPPChatClient
in that same project (XMPPChatClient is used by the ChatRobotApplication):
See below for the info about CVS access to this example code.
If you have other questions about this example and/or the presence API I
would suggest posting these questions to the ecf-dev mailing list, as it
is monitored more closely than this newsgroup by ECF committers (myself
as well as others). There is information and archive for the ecf-dev
mailing list here: https://dev.eclipse.org/mailman/listinfo/ecf-dev
Thanks,
Scott
Anonymous CVS access
The org.eclipse.ecf.example.clients project/source code is located here
in anonymous CVS:
connection type: pserver (or extssh)
host: dev.eclipse.org
repo path: /cvsroot/rt
module: org.eclipse.ecf/examples/bundles/org.eclipse.ecf.example.cli ents
There's more info on getting anonymous CVS access to this (and all the
ECF) code on the ECF dev resources page:
http://www.eclipse.org/ecf/dev_resources.php
|
|
|
Powered by
FUDForum. Page generated in 0.01611 seconds