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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access