"; CORBA::is_nil(thePOA) = "<<CORBA::is_nil(thePOA));
if(CORBA::is_nil(thePOA))
#ifndef WNT
- myPOA = PortableServer::RefCountServantBase::_default_POA();
+ myPOA = PortableServer::ServantBase::_default_POA();
#else
- myPOA = RefCountServantBase::_default_POA();
+ myPOA = ServantBase::_default_POA();
#endif
else
myPOA = PortableServer::POA::_duplicate(thePOA);
namespace SALOME{
class GENERICOBJ_EXPORT GenericObj_i :
public virtual POA_SALOME::GenericObj,
- public virtual PortableServer::RefCountServantBase
+ public virtual PortableServer::ServantBase
{
protected:
PortableServer::POA_var myPOA;
};
if (status) {
- char* Asender;
- char* Agraph;
- char* Atype;
- CORBA::ULong Acounter;
- CORBA::ULong Astamp;
- char* Adate;
- char* Anode;
- char* Amessage;
+ //omniORB 4.1.x requiries using only CORBA types instead C types
+ const char* Asender;
+ const char* Agraph;
+ const char* Atype;
+ CORBA::ULong Acounter;
+ CORBA::ULong Astamp;
+ const char* Adate;
+ const char* Anode;
+ const char* Amessage;
event->filterable_data[0].value >>= Asender;
event->filterable_data[1].value >>= Agraph;
event->filterable_data[2].value >>= Atype;
MESSAGE("activate object");
_thisObj = this ;
_id = _poa->activate_object(_thisObj);
- SCRUTE(pd_refCount);
+ SCRUTE(_pd_refCount);
}
Engines_TestComponent_i::Engines_TestComponent_i()
{
char s[100];
sprintf(s, "TestComponent_i : L = %ld", (long) L);
- SCRUTE(pd_refCount);
+ SCRUTE(_pd_refCount);
return CORBA::string_dup(s);
}