// Create a POA for the router and assign the priority propagation model
CORBA::PolicyList policy(1);
policy.length(1);
policy[0] = _rtorb->create_priority_model_policy(RTCORBA::CLIENT_PROPAGATED, 
                                       MEDIUM_PRIORITY);
PortableServer::POA_var routerPOA =
 _rootPOA->create_POA("RouterPOA",PortableServer::POAManager::_nil(),policy);

Example 2: Activating the router servant.

Back to Article