![]() |
![]() |
e-docs > Tuxedo > Administering a Tuxedo Application at Run Time > TP Framework |
Administering a Tuxedo Application at Run Time
|
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();
![]() |
![]() |
![]() |
![]() |
||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |