summaryrefslogtreecommitdiff
path: root/TAO/tao/TAO.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/TAO.h')
-rw-r--r--TAO/tao/TAO.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/TAO/tao/TAO.h b/TAO/tao/TAO.h
index da40929be65..bf06aee10e6 100644
--- a/TAO/tao/TAO.h
+++ b/TAO/tao/TAO.h
@@ -46,21 +46,21 @@ public:
int init (int &argc,
char *argv[],
- CORBA_Environment &TAO_IN_ENV = CORBA::default_environment ());
+ CORBA_Environment &TAO_IN_ENV = TAO_default_environment ());
// Initialize the ORB/root POA, using the supplied command line
// arguments or the default ORB components. Returns -1 on failure.
int init (int &argc,
char *argv[],
const char *orb_name,
- CORBA_Environment &TAO_IN_ENV = CORBA::default_environment ());
+ CORBA_Environment &TAO_IN_ENV = TAO_default_environment ());
// Initialize the ORB/root POA, using the supplied command line
// arguments or the default ORB components. Returns -1 on failure.
int init_child_poa (int &argc,
char *argv[],
const char *poa_name,
- CORBA_Environment &TAO_IN_ENV = CORBA::default_environment ());
+ CORBA_Environment &TAO_IN_ENV = TAO_default_environment ());
// Creates a child poa under the root poa with PERSISTENT and
// USER_ID policies. Call this if you want a <child_poa> with the
// above policies, otherwise call init. Returns -1 on failure.
@@ -69,13 +69,13 @@ public:
char *argv[],
const char *poa_name,
const char *orb_name,
- CORBA_Environment &TAO_IN_ENV = CORBA::default_environment ());
+ CORBA_Environment &TAO_IN_ENV = TAO_default_environment ());
// Creates a child poa under the root poa with PERSISTENT and
// USER_ID policies. Call this if you want a <child_poa> with the
// above policies, otherwise call init. Returns -1 on failure.
int activate_poa_manager (CORBA_Environment &TAO_IN_ENV =
- CORBA::default_environment ());
+ TAO_default_environment ());
// Put POA manager into the <Active> state, so that incoming corba
// requests are processed. This method is useful for clients,
// which are not going to enter "orb->run" loop, yet may want to
@@ -83,32 +83,32 @@ public:
// call on a server. Returns -1 on failure.
CORBA::String activate (PortableServer::Servant servant,
- CORBA_Environment &TAO_IN_ENV = CORBA::default_environment ());
+ CORBA_Environment &TAO_IN_ENV = TAO_default_environment ());
// Activate <servant>, using the POA <activate_object> call. Users
// can call this method multiple times to activate multiple objects.
// Returns 0 on failure.
void deactivate (const char *id,
- CORBA_Environment &TAO_IN_ENV = CORBA::default_environment ());
+ CORBA_Environment &TAO_IN_ENV = TAO_default_environment ());
// Deactivate object in RootPOA.
CORBA::String activate_under_child_poa (const char *servant_name,
PortableServer::Servant servant,
- CORBA_Environment &TAO_IN_ENV = CORBA::default_environment ());
+ CORBA_Environment &TAO_IN_ENV = TAO_default_environment ());
// Precondition: init_child_poa has been called. Activate <servant>
// using the POA <activate_object_with_id> created from the string
// servant_name. Users should call this to activate objects under
// the child_poa.
void deactivate_under_child_poa (const char *id,
- CORBA_Environment &TAO_IN_ENV = CORBA::default_environment ());
+ CORBA_Environment &TAO_IN_ENV = TAO_default_environment ());
// Deactivate object in child POA.
int run (CORBA_Environment &TAO_IN_ENV,
ACE_Time_Value *tv);
int run (ACE_Time_Value &tv,
- CORBA_Environment &TAO_IN_ENV = CORBA::default_environment ());
- int run (CORBA_Environment &TAO_IN_ENV = CORBA::default_environment ());
+ CORBA_Environment &TAO_IN_ENV = TAO_default_environment ());
+ int run (CORBA_Environment &TAO_IN_ENV = TAO_default_environment ());
// Run the ORB event loop with the specified <tv> time value Returns
// -1 on failure.