#include "ImR_Locator_i.h"
#include "utils.h"
#include "Iterator.h"
#include "INS_Locator.h"
#include "orbsvcs/Time_Utilities.h"
#include "tao/IORTable/IORTable.h"
#include "tao/PortableServer/PortableServer.h"
#include "tao/ORB_Core.h"
#include "tao/default_ports.h"
#include "tao/Messaging/Messaging.h"
#include "tao/AnyTypeCode/Any.h"
#include "ace/ARGV.h"
#include "ace/OS_NS_sys_time.h"
#include "ace/Vector_T.h"
Include dependency graph for ImR_Locator_i.cpp:
Go to the source code of this file.
Functions | |
PortableServer::POA_ptr | createPersistentPOA (PortableServer::POA_ptr root_poa, const char *poa_name) |
Variables | |
const int | DEFAULT_START_LIMIT = 1 |
const int | PING_RETRY_SCHEDULE [] = {0, 10, 100, 500, 1000, 1000, 1000, 1000, 5000, 5000} |
const ACE_Time_Value | DEFAULT_SERVER_TIMEOUT (0, 10 *1000) |
const ACE_Time_Value | DEFAULT_SHUTDOWN_TIMEOUT (0, 5000 *1000) |
|
Definition at line 33 of file ImR_Locator_i.cpp. References CORBA::Policy::_duplicate(). Referenced by ImR_Locator_i::init_with_orb(), and ImR_Activator_i::init_with_orb().
00033 { 00034 00035 PortableServer::LifespanPolicy_var life = 00036 root_poa->create_lifespan_policy (PortableServer::PERSISTENT); 00037 00038 PortableServer::IdAssignmentPolicy_var assign = 00039 root_poa->create_id_assignment_policy (PortableServer::USER_ID); 00040 00041 CORBA::PolicyList pols; 00042 pols.length (2); 00043 pols[0] = PortableServer::LifespanPolicy::_duplicate (life.in ()); 00044 pols[1] = PortableServer::IdAssignmentPolicy::_duplicate (assign.in ()); 00045 00046 PortableServer::POAManager_var mgr = root_poa->the_POAManager (); 00047 PortableServer::POA_var poa = 00048 root_poa->create_POA (poa_name, mgr.in (), pols); 00049 00050 life->destroy (); 00051 assign->destroy (); 00052 00053 return poa._retn (); 00054 } |
|
Referenced by ImR_Locator_i::connect_server(). |
|
Referenced by ImR_Locator_i::shutdown_server(). |
|
Definition at line 21 of file ImR_Locator_i.cpp. Referenced by ImR_Locator_i::server_is_running(). |
|
Definition at line 23 of file ImR_Locator_i.cpp. Referenced by ImR_Locator_i::is_alive(). |