Archived
This forum has been archived. Please start a new discussion on GitHub.
Find object in object adapter by its proxy
in Help Center
Hi,
I need to find coresponding object to object proxy passed by client to server.
i.e. find SomeObjectPtr from SomeOjectPrx.
I need to find coresponding object to object proxy passed by client to server.
i.e. find SomeObjectPtr from SomeOjectPrx.
0
Comments
-
You can do that by calling find on the object adapter on which the servant is registered.
For example:Ice::ObjectPtr servant = objectAdapter->find(someProxy->ice_getIdentity());
0 -
Thanks.
That's what I needed!0