Skip navigation.

CORBA Programming Reference

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

 


CORBA::ORB::destroy

Synopsis

Destroys the specified ORB.

C++ Binding

void destroy();

Parameter

None.

Return Value

None.

Description

Use this method to destroy an ORB so that the resources associated with that ORB can be reclaimed. Once an ORB has been destroyed, another invocation on the ORB_init method with the same ORB ID returns a reference to a newly constructed ORB. If an application invokes the ORB::destroy method from a thread that is currently servicing an invocation, the BEA Tuxedo system raises the BAD_INV_ORDER system exception with the OMG minor code 3, because blocking would result in a deadlock.

Example

pOrb->destroy();

 

Skip navigation bar  Back to Top Previous Next