Overview | Determines whether an object reference regers to a valid object. |
Original class | CORBA::Object |
Intended Usage
This method is intended to be used to determine whether an object reference (either a proxy object or a local pointer) refers to a valid object. When invoked on a proxy object, this results in a remote call to the server, which may activate the remote object to determine its existence, but no method is invoked on the remote object itself (unless the server invokes some method on the object as part of activation).
Syntax
virtual Boolean _non_existent () = 0;
Input parameters
None.
Return values
Example
/* Assume the following IDL interface */ interface testObject { string testMethod (in long input_value, out float out_value); }; /* Here is the cpp code */ testObject_ptr test_obj; /* instantiate test_obj and make it a proxy somehow */ ... CORBA::Boolean retval = test_obj->_non_existent(); ...