TAO_Implementation_Repository  2.1.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
ImR_Locator_i.cpp File Reference
#include "ImR_Locator_i.h"
#include "utils.h"
#include "Iterator.h"
#include "INS_Locator.h"
#include "Locator_Repository.h"
#include "Config_Backing_Store.h"
#include "Shared_Backing_Store.h"
#include "XML_Backing_Store.h"
#include "orbsvcs/Time_Utilities.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"

Functions

static PortableServer::POA_ptr createPersistentPOA (PortableServer::POA_ptr root_poa, const char *poa_name)
 

Variables

static const int DEFAULT_START_LIMIT = 1
 
static const int PING_RETRY_SCHEDULE []
 
static const ACE_Time_Value DEFAULT_SERVER_TIMEOUT (0, 10 *1000)
 
static const ACE_Time_Value DEFAULT_SHUTDOWN_TIMEOUT (0, 5000 *1000)
 

Function Documentation

static PortableServer::POA_ptr createPersistentPOA ( PortableServer::POA_ptr  root_poa,
const char *  poa_name 
)
static

Variable Documentation

const ACE_Time_Value DEFAULT_SERVER_TIMEOUT(0, 10 *1000)
static
const ACE_Time_Value DEFAULT_SHUTDOWN_TIMEOUT(0, 5000 *1000)
static

We want to give shutdown a little more time to work, so that we can guarantee to the tao_imr utility that it has shutdown. The tao_imr utility prints a different message depending on whether shutdown succeeds or times out.

const int DEFAULT_START_LIMIT = 1
static
const int PING_RETRY_SCHEDULE[]
static
Initial value:
= {0, 10, 100, 500, 1000, 1000, 1000,
1000, 5000, 5000}