Skip navigation.

CORBA Programming Reference

  Previous Next vertical dots separating previous/next from contents/index/pdf Contents View as PDF   Get Adobe Reader

 


Tobj_ServantBase::_add_ref()

Synopsis

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.

C++ Binding

void _add_ref()

Arguments

None.

Description

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.

Return Value

None.

Example

myServant * servant = new intf_i();
if(servant != NULL)
servant->_add_ref();

 

Skip navigation bar  Back to Top Previous Next