Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » CDORemoteSessionMessage for accessing a CDOModel
CDORemoteSessionMessage for accessing a CDOModel [message #1423641] Sun, 14 September 2014 20:15 Go to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
I send CDORemoteSessionMessage using CDORemoteSessionManager and I receive it on all Remote sessions.

By sending certain CDORemoteSessionMessage, I want to open a model and show it in the CDOEditor programmatically, which is in the repository. Is is possible through CDORemoteSessionMessage?

If it is possible, how to do that? Because, when I receive the MessageReceived Event(onMessageReceived), I have only the RemoteSession object. How can I achieve this?


protected void onMessageReceived(CDORemoteSession remoteSession,
CDORemoteSessionMessage message)

[Updated on: Sun, 14 September 2014 20:16]

Report message to a moderator

Re: CDORemoteSessionMessage for accessing a CDOModel [message #1423862 is a reply to message #1423641] Mon, 15 September 2014 05:05 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 14.09.2014 um 22:15 schrieb UmaShankar Subramani:
> I send CDORemoteSessionMessage using CDORemoteSessionManager and I receive it on all Remote sessions.
>
> By sending certain CDORemoteSessionMessage, I want to open a model and show it in the CDOEditor, which is in the
> repository. Is is possible through CDORemoteSessionMessage?
>
> If it is possible, how to do that? Because, when I receive the MessageReceived Event(onMessageReceived), I have only
> the RemoteSession object. How can I achieve this?
>
>
> protected void onMessageReceived(CDORemoteSession remoteSession,
> CDORemoteSessionMessage message)
You can send the URI of the model that you want to have opened at the other end.

Cheers
/Eike

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


Previous Topic:Using CDORemoteSessionManager
Next Topic:Calling eGet for invalid structural feature
Goto Forum:
  


Current Time: Fri Mar 29 05:18:16 GMT 2024

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

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

Back to the top