Re[2]: [omniORB] ServantBase or RefCountServantBase possible bug in omniidl?
Alex Shabarshoff
shura@uc.ru
Fri, 14 Jul 2000 17:31:45 +0400
Hello David,
you wrote:
DS> When you implement your servant class you can enable reference counting by
DS> multiply inheriting from the RefCountServantBase mixin class.
Ok. But i'm using tie interfaces. The generated code looks like this:
class DOMImplementation :
public virtual dom::_impl_DOMImplementation,
public virtual PortableServer::ServantBase
{
public:
...
Because the code is generated by omniidl reference counting does not
work. The question was *should* omniidl generate inheritance from
ServantBase or from RefCountServantBase? The command line was:
omniidl -bcxx -Wbh=.h -Wbs=SK.cpp -DNO_NS_HACK -Wbtp -I../../../idl dom.idl
Best regards,
Alex Shabarshoff
Union Card Processing Company
Chief of Security Systems Development Department
Europay Security Supervisor