summaryrefslogtreecommitdiff
path: root/TAO/examples/Load_Balancing_persistent/Load_Balancer_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Load_Balancing_persistent/Load_Balancer_i.h')
-rwxr-xr-xTAO/examples/Load_Balancing_persistent/Load_Balancer_i.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/TAO/examples/Load_Balancing_persistent/Load_Balancer_i.h b/TAO/examples/Load_Balancing_persistent/Load_Balancer_i.h
index 5bc65fba26d..7eff01186b3 100755
--- a/TAO/examples/Load_Balancing_persistent/Load_Balancer_i.h
+++ b/TAO/examples/Load_Balancing_persistent/Load_Balancer_i.h
@@ -66,7 +66,7 @@ public:
// Destructor.
- PortableServer::POA_ptr _default_POA (TAO_ENV_SINGLE_ARG_DECL)
+ PortableServer::POA_ptr _default_POA (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
// Method for the POA that will return the persistent POA_ptr stored
// in here..
@@ -74,7 +74,7 @@ public:
// = Load_Balancer::Object_Group_Factory idl methods.
Load_Balancer::Object_Group_ptr make_round_robin (const char * id
- TAO_ENV_ARG_DECL)
+ ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException,
Load_Balancer::duplicate_group));
// Creates an <Object_Group> that resolves requests for arbitrary
@@ -84,13 +84,13 @@ public:
// exception is thrown.
void unbind_round_robin (const char *id
- TAO_ENV_ARG_DECL)
+ ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException,
Load_Balancer::no_such_group));
Load_Balancer::Object_Group_ptr make_random (const char * id
- TAO_ENV_ARG_DECL)
+ ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException,
Load_Balancer::duplicate_group));
// Creates an <Object_Group> that resolves requests for arbitrary
@@ -100,26 +100,26 @@ public:
// exception is thrown.
void unbind_random (const char *id
- TAO_ENV_ARG_DECL)
+ ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException,
Load_Balancer::no_such_group));
Load_Balancer::Object_Group_ptr resolve (const char * id
- TAO_ENV_ARG_DECL)
+ ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException,
Load_Balancer::no_such_group));
// Locates and returns an <Object_Group IOR> by its <Group_ID>. If
// no <Object_Group> has <Group_ID> of <id>, throw a
// <no_such_group> exception.
- Load_Balancer::Group_List * round_robin_groups (TAO_ENV_SINGLE_ARG_DECL)
+ Load_Balancer::Group_List * round_robin_groups (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
// Lists all the round robin <Object_Group>s which were created
// by this factory, and haven't been destroyed yet, i.e., return
// a sequence of <Group_ID>s of all existing round robin
// <Object_Group>s created by this factory.
- Load_Balancer::Group_List * random_groups (TAO_ENV_SINGLE_ARG_DECL)
+ Load_Balancer::Group_List * random_groups (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
// Lists all the random <Object_Group>s which were created
// by this factory, and haven't been destroyed yet, i.e., return
@@ -138,7 +138,7 @@ private:
Load_Balancer::Object_Group_ptr make_group (int random,
const char * id
- TAO_ENV_ARG_DECL)
+ ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException,
Load_Balancer::duplicate_group));
// This function factors out common code in <make_round_robin> and
@@ -146,17 +146,17 @@ private:
// set to 1 and round robin <Object_Group> if it is 0.
Load_Balancer::Group_List * list_groups (int random
- TAO_ENV_ARG_DECL);
+ ACE_ENV_ARG_DECL);
// This function factors out common code in <random_groups> and
// <round_robin_groups>. Returns a sequence of its random
// groups if <random> parameter is set to 1 and a sequence of its
// round robin groups if it is 0.
void update_flags (int random
- TAO_ENV_ARG_DECL);
+ ACE_ENV_ARG_DECL);
// The helper that updates the vlaue of the variable flags_
- void update_objects (TAO_ENV_SINGLE_ARG_DECL);
+ void update_objects (ACE_ENV_SINGLE_ARG_DECL);
// This rolls back the status of the objects in the POA if the
// service had failed..
@@ -211,17 +211,17 @@ public:
// Persistent POA
// Method for the POA
- PortableServer::POA_ptr _default_POA (TAO_ENV_SINGLE_ARG_DECL)
+ PortableServer::POA_ptr _default_POA (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
// = Load_Balancer::Object_Group idl methods.
- char * id (TAO_ENV_SINGLE_ARG_DECL)
+ char * id (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
// Get group's id.
void bind (const Load_Balancer::Member & member
- TAO_ENV_ARG_DECL)
+ ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException,
Load_Balancer::duplicate_member));
// Adds a new <member> to the <Object_Group>. Note that each
@@ -230,14 +230,14 @@ public:
// <duplicate_member> exceptions is thrown.
void unbind (const char * id
- TAO_ENV_ARG_DECL)
+ ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException,
Load_Balancer::no_such_member));
// Removes a member with the specified <Member_ID> from the
// <Object_Group>. If none of the group's members have a
// Member_ID of <id>, <no_such_member> exception is thrown.
- char * resolve (TAO_ENV_SINGLE_ARG_DECL)
+ char * resolve (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException,
Load_Balancer::no_such_member)) = 0;
// Returns a member object from this <Object_Group> in accordance with
@@ -246,18 +246,18 @@ public:
// exception is thrown.
char * resolve_with_id (const char * id
- TAO_ENV_ARG_DECL)
+ ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException,
Load_Balancer::no_such_member));
// Returns an object with the specified <Member_ID>. If this
// <Object_Group> contains no members with the specified
// <Member_ID>, <no_such_member> exception is thrown.
- Load_Balancer::Member_ID_List * members (TAO_ENV_SINGLE_ARG_DECL)
+ Load_Balancer::Member_ID_List * members (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
// Return a sequence of <Member_ID>s of all of its members.
- void destroy (TAO_ENV_SINGLE_ARG_DECL)
+ void destroy (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
// Cleanup the resources associated with this <Object_Group>.
// Subsequent calls to this <Object_Group> should fail, and its
@@ -266,7 +266,7 @@ public:
protected:
- void read_from_memory (TAO_ENV_SINGLE_ARG_DECL_NOT_USED);
+ void read_from_memory (ACE_ENV_SINGLE_ARG_DECL_NOT_USED);
// This will replenish all the pointers that could have been lost
// because of failure
@@ -309,7 +309,7 @@ public:
PortableServer::POA_ptr poa);
// Constructor.
- char * resolve (TAO_ENV_SINGLE_ARG_DECL)
+ char * resolve (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException,
Load_Balancer::no_such_member));
// Returns a member object from this <Object_Group> in accordance with
@@ -330,14 +330,14 @@ public:
// Constructor.
void unbind (const char * id
- TAO_ENV_ARG_DECL)
+ ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException,
Load_Balancer::no_such_member));
// We need to override the implementation of <unbind> from
// Object_Group_i to make sure <resolve>
// works correctly.
- char * resolve (TAO_ENV_SINGLE_ARG_DECL)
+ char * resolve (ACE_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException,
Load_Balancer::no_such_member));
// Returns a member object from this <Object_Group> in accordance with