CORBA Programming Reference
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Allows a server to retrieve the string ObjectId
contained in an object reference that was created in the TP Framework.
char* TP::get_object_id(Corba::Object_ptr obj);
The object reference from which to get the ObjectId
.
This method allows a server to retrieve the string ObjectId
contained in an object reference that was created in the TP Framework. If the object reference was not created in the TP Framework (for example, it was created by a client ORB), an exception is raised.
The caller must call CORBA::string_free
on the returned value when the object reference is no longer needed.
The string ObjectId
passed to TP::create_object_reference
or TP::create_active_object_reference
when the object reference was created.
![]() ![]() |
![]() |
![]() |