![]() |
Overview Returns the ReferenceData associated with a local object in a server. Original class CORBA module: BOA Class Exceptions CORBA::SystemException
Intended Usage
This method is intended to be used by a server application, to access the ReferenceData used by that server to identify the object.
Typical server applications would only need to call this method to obtain the ReferenceData required by the CORBA::BOA::create method.
This method is part of the CORBA specification.
IDL Syntax
virtual CORBA::ReferenceData *get_id (CORBA::Object_ptr obj);
Input parameters
- obj
- The local object for which ReferenceData is needed. If this parameter is NULL or is a proxy object (rather than a local object in a server), an exception is thrown.
Return values
- CORBA::ReferenceData*
- The ReferenceData associated with the given object. Ownership of the ReferenceData is transferred to the caller.
Example
See example in CORBA::BOA::create.