The CORBA interface provides the following ORB
interfaces:
- object_to_string
- This operation converts an object reference to an external form that can
be stored for later use or exchanged between processes. The string_to_object
operation can be used to reconstruct the object reference.
- string_to_object
- This operation converts a stringified object reference to a reconstructed
object reference. The object_to_string operation must have been used to create
the input stringified data.
Note: Although object_to_string is the way to save object references
for future usage, the returned data should only be used with string_to_object
to reconstruct that object reference. Do not use the string for comparing
equivalence of object references. The object_to_string operation may return
different values at different times because various Object Services may be
adding information to this IOR.