CORBA Programming Reference
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Adds a reference to a servant. This method supports the development of a multithreaded server application.
Note: In applications written using BEA Tuxedo release 8.0 or later, use this method instead of the TP::application_responsibility()
method.
void _add_ref()
Invoke this method when a reference to a servant is needed. Invoking this method causes the reference count for the servant to increment by one.
myServant * servant = new intf_i();
if(servant != NULL)
servant->_add_ref();
![]() ![]() |
![]() |
![]() |