Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » CDO lock/unlock(How to listen the CDO lock/unlock event between all the clients?)
CDO lock/unlock [message #1006417] Thu, 31 January 2013 10:08
Huang Karelun is currently offline Huang KarelunFriend
Messages: 4
Registered: January 2013
Junior Member
Hi, guys,
Who can help me for this:
1. I used CDO for connecting between mult-clients and server.
2. In one client, I used this code
CDOUtil.getCDOObject((EObject)object).cdoWriteLock().lock();
to lock one model which defined by EMF. then I can catch the CDOSessionLocksChangedEvent by listening the CDOSession listeners in the current client, and it's correctly.
3. But In other clients, I can't catch the CDOSessionLocksChangedEvent with the same method. so can you tell me how to catch it in other clients, and which it important for me!
4. By the way, the CDO's version what I used is 4.1.
Lastly, My main meaning is: one client locks/unlocks one model, the other clients also should catch the lock/unlock event.

Thank for your answers!
Previous Topic: CDO lock/unlock model event
Next Topic:[CDO] CDO/GMF compatibility
Goto Forum:
  


Current Time: Thu Jul 27 19:08:43 GMT 2017

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

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