[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference pamsrc::objectbroker_development

Title:ObjectBroker Development - BEA Systems' CORBA
Notice:See note 2 for kit locations; note 4 for training
Moderator:RECV::GUMBELd
Created:Thu Dec 27 1990
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2482
Total number of notes:13057

2420.0. "Association of object references and server instances" by HOUBA::BOUCHET () Thu Jan 23 1997 12:29

T.RTitleUserPersonal
Name
DateLines
2420.1LEMAN::DONALDSONFroggisattva! Froggisattva!Fri Jan 24 1997 06:5619
Frederic,

I think you already solved this one. You have to call

   theSessionImpl_ptr->_OBB__associate_objects(CORBA_TRUE);

*before* you create *any* instances of the impl. 

As we discussed, it's not friendly that the subsequent associate

        theCSession_ptr->associated_object(
            (void*)(CSession*)theCSession_ptr,
             theObjRef_ptr,
             ev);	

doesn't seem to return an error saying "association not enabled"
for this implementation.

John D.
2420.2PTR 16-3-227REQUE::BOWERPeter Bower, ObjectBrokerTue Jan 28 1997 06:582
    This has been entered into the PTR system - 16-3-227.