EclipseCon.2006.ECF.Tutorial.42
43 pages
English

EclipseCon.2006.ECF.Tutorial.42

Le téléchargement nécessite un accès à la bibliothèque YouScribe
Tout savoir sur nos offres
43 pages
English
Le téléchargement nécessite un accès à la bibliothèque YouScribe
Tout savoir sur nos offres

Description

The Ecl ipse Communication F ramework (ECF ) Chris Aniszczyk S cott Lewis thMa rch 20, 2006© 2006 by IBM , Composent, et al. made available under the EPL v1.0 | 2006 |What You N eed To get the most from this tutorial, you need to bring a laptop capable of running Eclipse and developing plug-ins. You must have the following installed: Eclipse 3.2 M 5a (or M 5) EMF 2.2.M 5 and G EF 3.2M 5a ECF SDK 0.7.5 ECF Pl ugins w/source (via project set file or anonymous CVS )2 The Eclipse Communication Fr amework | © 2006 by IBM , Composent made available under the EPL v1.0Tutorial Overview Introduction, Demos: IM/ Chat, Collaboration, S hared Editor, VOIP/Call API M odule 1: ECF Clients ECF Clients Trivial client IM /Chat Datashare Discovery/F ileS hare Extensibility with S hared Objects M odule 2: ECF Providers ECF protocol adapters revisited N amespace Extension Point ContainerF actory Extension Point3 The Eclipse Communication Fr amework | © 2006 by IBM , Composent made available under the EPL v1.0Tutorial Overview (cont)M odule 3: You Decide IM Clients Mu ltiplayer G ame S hared Editor Other The Eclipse Communication Fr amework | © 2006 by IBM , Composent made available under the EPL v1.0Demos XMP P IM /Chat IRC Collab Chat URL S haring Remote view opening S hared Workspaces/Editor The Eclipse Communication Fr amework | © 2006 by IBM , Composent made available ...

Informations

Publié par
Nombre de lectures 66
Langue English

Extrait

The Eclipse Communication Framework (ECF)
Chris Aniszczyk <zx@us.ibm.com> Scott Lewis <slewis@composent.com>
© 2006 by IBM, Composent, et al. made available under the EPL v1.0 | 2006 |
March 20th, 2006
What You Need
2
To get the most from this tutorial, you need to bring a laptop capable of running Eclipse and developing plug-ins.
You must have the following installed: Eclipse 3.2 M5a (or M5) EMF 2.2.M5andGEF 3.2M5a ECF SDK 0.7.5 ECF Plugins w/source (viaproject setfile or anonymous CVS)
The Eclipse Communication Framework | © 2006 by IBM, Composent made available under the EPL v1.0
Tutorial Overview
3
Introduction, Demos: IM/Chat, Collaboration, Shared Editor, VOIP/Call API  Clients ECFModule 1: ECF Clients Trivial client IM/Chat Datashare Discovery/FileShare Extensibility with Shared Objects  ECFModule 2: Providers ECF protocol adapters revisited Namespace Extension Point ContainerFactory Extension Point
The Eclipse Communication Framework | © 2006 by IBM, Composent made available under the EPL v1.0
Tutorial Overview (cont)
Module 3: You Decide IM Clients Multiplayer Game Shared Editor Other
The Eclipse Communication Framework | © 2006 by IBM, Composent made available under the EPL v1.0
Demos
XMPP IM/Chat
IRC
Collab
Chat
URL Sharing
Remote view opening
Shared Workspaces/Editor
The Eclipse Communication Framework | © 2006 by IBM, Composent made available under the EPL v1.0
ECF Future
New Sub-projects Shared Editors
Call API/VOIP/Asterisk
Application Sharing/VNC
ECF+OSGI For Servers
The Eclipse Communication Framework | © 2006 by IBM, Composent made available under the EPL v1.0
Module 1 
ECF API Introduction
© 2006 by IBM, Composent, et al. made available under the EPL v1.0 | 2006 |
ECF: Multi-Protocol Communications for Eclipse/RCP
 through protocolorg.eclipse.ecf.core.IContainer: Interoperability
abstraction Container creation: ECF ContainerFactory IContainer c = ContainerFactory.getDefault.createContainer(“type”);  connect/disconnect/lifecycle/listenersIContainer semantics: c.connect(ID,IConnectContext); ... c.disconnect();   Iadaptable abuse akaProtocol adapters: IFileshareContainer fsc = (IFileShareContainer) c.getAdapter(IFileShareContainer.class); if (fsc ! null) ... =
The Eclipse Communication Framework | © 2006 by IBM, Composent made available under the EPL v1.0
ContainerFactory Extension Point
g.ecoroc.fiatnspilce.eryrFnetoac ECF providers implement communication protocol(s) XMPP/Jabber, IRC, JMS, ECF 'generic', Yahoo Working on: SIP, JXTA, Jingle, Sametime, RSS+SSE Relying upon community involvement/contribution to write to IContainer API and not to specificAllows clients/apps implementation API IContainer container = ContainerFactory.getDefault.createContainer(“ecf.xmpp.sma ck”); IContainer.connect(...);
The Eclipse Communication Framework | © 2006 by IBM, Composent made available under the EPL v1.0
ECF Addressing
Addressing needed for container.connect(ID,...); Represented by instance of org.eclipse.ecf.core.identity.ID Have URI 'nature' g:ore.pser/s8232//:pctfcilce.fceeevr ro.eglewis@ecf.eclipsmxpps.amkcs: mailto:slewis@composent.com Not required to have URI syntax (but frequently do) GUID: AF430D2189AFB8D String: “channel1” IDs also useful as service identifiers (e.g. Discovery), user identifiers (IM/chat), file identifiers (fileshare), channel identifiers (datashare)
The Eclipse Communication Framework | © 2006 by IBM, Composent made available under the EPL v1.0
Extending Addressing for New Protocols
org.eclipse.ecf.namespace extension point Plugins provide extension Namespaces e.g. xmpp jabber id syntax: jid:slewis@ecf.eclipse.org Namespace extensions responsible for creating ID instances that follow ID contract Immutable Unique within Namespace Examples ID id1 = IDFactory.getDefault().createID(ns1,” slewis@ecf.eclipse.org”); ID id2 = IDFactory.getDefault().createID(ns1,” slewis@composent.com”); ID id3 = IDFactory.getDefault().createID(ns2,” slewis@ecf.eclipse.org”); e.g. id1.equals(id2) -> false, id1.equals(id3) -> false
The Eclipse Communication Framework | © 2006 by IBM, Composent made available under the EPL v1.0
  • Univers Univers
  • Ebooks Ebooks
  • Livres audio Livres audio
  • Presse Presse
  • Podcasts Podcasts
  • BD BD
  • Documents Documents