Tuxedo
0

Administering a Tuxedo Application at Run Time

 Previous Next Contents View as PDF  

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();

 

Back to Top Previous Next
Contact e-docsContact BEAwebmasterprivacy