Interoperable Object Reference
When developing a CORBA application, you usually encounter object references in the form of an object instance (a C++ object or a Java object). There are occasions, however, when object references have to be converted to a stream of bytes:
When marshalling an object reference for transmission as a parameter or return value in an IIOP message (see Chapter 16, “Internet Inter-ORB Protocol”).
When CORBA::ORB::object_to_string() is called to stringify a given reference.
The use of object_to_string() is of particular interest in this chapter. It is easy to dump the state of an object reference into a string by calling object_to_string(). The information that can be extracted from the resulting string is often very helpful ...
Get Pure CORBA now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.