createNodeManagerNS1
Posted: 11 May 2019, 19:07
Hi,
I would like inherit the class NodeManagerNS1 in my Server application.
Only way to create the instance of MyNodeManagerNS1 is to override the method from ServerManager "ServerManager::createNodeManagerNS1"
But there is no way to send the instance of MyServerManager to CoreModule::initialize().
Please suggest me how to send the instance of MyServerManager to CoreModule.
Regards,
Vinoth
I would like inherit the class NodeManagerNS1 in my Server application.
Code: Select all
class MyNodeManagerNS1: public NodeManagerNS1
{
....
....
};
Code: Select all
class MyServerManager: public ServerManager
{
....
....
virtual NodeManager* createNodeManagerNS1(..)
{
return new [b]MyNodeManagerNS1[/b](..);
}
};
Please suggest me how to send the instance of MyServerManager to CoreModule.
Regards,
Vinoth