Home Help Center

Ice-3.1 Ice::stringToIdentity

xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
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?
current.adapter->getCommunicator()->stringToIdentity(); 

thanks

Comments

  • dwaynedwayne St. John's, NewfoundlandMember Dwayne BooneOrganization: ZeroC, Inc.Project: Internet Communications Engine
    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,
    Dwayne
Sign In or Register to comment.