CDO lock/unlock [message #1006417] |
Thu, 31 January 2013 10:08 |
Huang Karelun 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!
|
|
|
Powered by
FUDForum. Page generated in 0.02743 seconds