bool NodeImpl::configExit()
{
	// If this is not a master node, call dispose on the engine object. 
	// Otherwise, ConfigImpl will take care of it.
	SystemManager* sys = SystemManager::instance();
	if(!sys->isMaster())
	{
		myServer->dispose();
	}
	return Node::configExit();
}
NodeImpl::NodeImpl( eq::Config* parent ):
	Node(parent),
	myServer(NULL)
{
	//omsg("[EQ] NodeImpl::NodeImpl");

	SystemManager* sys = SystemManager::instance();

	ApplicationBase* app = sys->getApplication();
	if(!sys->isMaster())
	{
		// This is the not master node. Create a standard server instance.
		myServer = new Engine(app);
	}
}
bool NodeImpl::configInit( const eq::uint128_t& initID )
{
	//ofmsg("[EQ] NodeImpl::configInit %1%", %initID);

	SystemManager* sys = SystemManager::instance();
	if(!sys->isMaster())
	{
		ConfigImpl* config = static_cast<ConfigImpl*>( getConfig());
		config->mapSharedData(initID);

		myServer->initialize();
		
		EqualizerDisplaySystem* eqds = (EqualizerDisplaySystem*)SystemManager::instance()->getDisplaySystem();
		eqds->finishInitialize(config, myServer);
	}

	return Node::configInit(initID);
}