diff options
Diffstat (limited to 'TAO/examples/Load_Balancing/Load_Balancer_i.h')
-rw-r--r-- | TAO/examples/Load_Balancing/Load_Balancer_i.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/TAO/examples/Load_Balancing/Load_Balancer_i.h b/TAO/examples/Load_Balancing/Load_Balancer_i.h index 2699cc88f99..819305447a2 100644 --- a/TAO/examples/Load_Balancing/Load_Balancer_i.h +++ b/TAO/examples/Load_Balancing/Load_Balancer_i.h @@ -81,14 +81,14 @@ public: // no <Object_Group> has <Group_ID> of <id>, throw a // <no_such_group> exception. - Load_Balancer::Group_List * round_robin_groups (ACE_ENV_SINGLE_ARG_DECL) + Load_Balancer::Group_List * round_robin_groups (void) 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 (ACE_ENV_SINGLE_ARG_DECL) + Load_Balancer::Group_List * random_groups (void) 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 @@ -164,7 +164,7 @@ public: // = Load_Balancer::Object_Group idl methods. - char * id (ACE_ENV_SINGLE_ARG_DECL) + char * id (void) ACE_THROW_SPEC ((CORBA::SystemException)); // Get group's id. @@ -185,7 +185,7 @@ public: // <Object_Group>. If none of the group's members have a // Member_ID of <id>, <no_such_member> exception is thrown. - CORBA::Object_ptr resolve (ACE_ENV_SINGLE_ARG_DECL) + CORBA::Object_ptr resolve (void) ACE_THROW_SPEC ((CORBA::SystemException, Load_Balancer::no_such_member)) = 0; // Returns a member object from this <Object_Group> in accordance with @@ -201,11 +201,11 @@ public: // <Object_Group> contains no members with the specified // <Member_ID>, <no_such_member> exception is thrown. - Load_Balancer::Member_ID_List * members (ACE_ENV_SINGLE_ARG_DECL) + Load_Balancer::Member_ID_List * members (void) ACE_THROW_SPEC ((CORBA::SystemException)); // Return a sequence of <Member_ID>s of all of its members. - void destroy (ACE_ENV_SINGLE_ARG_DECL) + void destroy (void) ACE_THROW_SPEC ((CORBA::SystemException)); // Cleanup the resources associated with this <Object_Group>. // Subsequent calls to this <Object_Group> should fail, and its @@ -259,13 +259,13 @@ public: ~Random_Object_Group (void); // Destructor. - CORBA::Object_ptr resolve (ACE_ENV_SINGLE_ARG_DECL) + CORBA::Object_ptr resolve (void) ACE_THROW_SPEC ((CORBA::SystemException, Load_Balancer::no_such_member)); // Returns a member object from this <Object_Group> in accordance with // the "random" load balancing policy. - void destroy (ACE_ENV_SINGLE_ARG_DECL) + void destroy (void) ACE_THROW_SPEC ((CORBA::SystemException)); // Cleanup the resources associated with this <Object_Group>. // Subsequent calls to this <Object_Group> should fail, and its @@ -296,13 +296,13 @@ public: // Object_Group_i to make sure <resolve> // works correctly. - CORBA::Object_ptr resolve (ACE_ENV_SINGLE_ARG_DECL) + CORBA::Object_ptr resolve (void) ACE_THROW_SPEC ((CORBA::SystemException, Load_Balancer::no_such_member)); // Returns a member object from this <Object_Group> in accordance with // the "round robin" load balancing policy. - void destroy (ACE_ENV_SINGLE_ARG_DECL) + void destroy (void) ACE_THROW_SPEC ((CORBA::SystemException)); // Cleanup the resources associated with this <Object_Group>. // Subsequent calls to this <Object_Group> should fail, and its |