Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] inform clients about "special" events
[CDO] inform clients about "special" events [message #1009615] Fri, 15 February 2013 11:41 Go to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
Hi all,
Is there a way to send "special events" (for example, model changes, but not always model related) from the server to all connected clients (with a specific user id)?

Thanks!
Re: [CDO] inform clients about "special" events [message #1009639 is a reply to message #1009615] Fri, 15 February 2013 12:35 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 15.02.2013 12:41, schrieb Erdal Karaca:
> Hi all,
> Is there a way to send "special events" (for example, model changes, but not always model related)
I really can't wrap my head around what are model changes that are not model related :P

Model changes are distributed via passive updates / view invalidation / EMF adapters.

> from the server to all connected clients (with a specific user id)?
There's CDORemoteSessionManager which you can obtain from session.getRemoteSessionManager() and use to send
CDORemoteSessionMessages to specific (or all) users. These users need to "subscribe" to these events in order to receive
CDORemoteSessionEvents.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: [CDO] inform clients about "special" events [message #1009647 is a reply to message #1009639] Fri, 15 February 2013 12:49 Go to previous message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
"Events caused by model changes" and "events not model related"...

Eike Stepper wrote on Fri, 15 February 2013 13:35
Am 15.02.2013 12:41, schrieb Erdal Karaca:
> Hi all,
> Is there a way to send "special events" (for example, model changes, but not always model related)
I really can't wrap my head around what are model changes that are not model related Razz


I will have a look at the RemoteSessionManager/CDORemoteSessionEvents classses, thanks!
Previous Topic:Adding elements to AnyAttribute
Next Topic:[CDO] Invalidation notification for certain object types
Goto Forum:
  


Current Time: Tue Apr 16 23:44:25 GMT 2024

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

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

Back to the top