Skip navigation.

CORBA Programming Reference

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

 


Callbacks

Synopsis

Returns a reference to the Callbacks interface.

C++ Binding

BEAWrapper::Callbacks( CORBA::ORB_ptr init_orb);

Argument

init_orb

The ORB to be used for all further operations.

Exception

CORBA::IMP_LIMIT

The BEAWrapper::Callbacks class has already be instantiated with an ORB pointer. Only one instance of this class can be used in a process. Users who need additional flexibility should use the POA directly.

Description

The constructor returns a reference to the Callbacks interface. Only one such object should be created for the process, even if multiple threads are used. Using more than one such object will result in undefined behavior.

Return Value

A reference to the Callbacks object.

 

Skip navigation bar  Back to Top Previous Next