Archived
This forum has been archived. Please start a new discussion on GitHub.
Ice-3.1 Ice::stringToIdentity
xdm
La Coruña, Spain
in Help Center
I install the new Ice-3.1 and Ice::stringToIdentity operation is missed, is this not longer suported? i can't found notes in documentation about this changue.
what is the correct way for do the conversion
I use the Ice::identityToString in several servant implementations, i think that i must changue for the following code, there is a better way?
thanks
what is the correct way for do the conversion
I use the Ice::identityToString in several servant implementations, i think that i must changue for the following code, there is a better way?
current.adapter->getCommunicator()->stringToIdentity();
thanks
0
Comments
-
Hi,
The Ice::stringToIdentity() method is still present in Ice 3.1, you probably just need to add an include statement for "Ice/IdentityUtil.h" to your code. However, the method has been deprecated and will be removed in a future release in favour of the new stringToIdentity() method in the Communicator interface.
Regards,
Dwayne0