diff options
Diffstat (limited to 'TAO/orbsvcs/tests/CosEvent/lib/Counting_Consumer.h')
-rw-r--r-- | TAO/orbsvcs/tests/CosEvent/lib/Counting_Consumer.h | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/TAO/orbsvcs/tests/CosEvent/lib/Counting_Consumer.h b/TAO/orbsvcs/tests/CosEvent/lib/Counting_Consumer.h index d3ec2cbbb33..7b30ad07f53 100644 --- a/TAO/orbsvcs/tests/CosEvent/lib/Counting_Consumer.h +++ b/TAO/orbsvcs/tests/CosEvent/lib/Counting_Consumer.h @@ -39,9 +39,8 @@ public: CEC_Counting_Consumer (const char* name); // Constructor - void connect (CosEventChannelAdmin::ConsumerAdmin_ptr consumer_admin - ACE_ENV_ARG_DECL); - void disconnect (ACE_ENV_SINGLE_ARG_DECL); + void connect (CosEventChannelAdmin::ConsumerAdmin_ptr consumer_admin); + void disconnect (void); // Simple connect/disconnect methods.. void dump_results (int expected_count, int tolerance); @@ -50,10 +49,9 @@ public: // = The CosEventComm::PushConsumer methods - virtual void push (const CORBA::Any& events - ACE_ENV_ARG_DECL) + virtual void push (const CORBA::Any& events) ACE_THROW_SPEC ((CORBA::SystemException)); - virtual void disconnect_push_consumer (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + virtual void disconnect_push_consumer (void) ACE_THROW_SPEC ((CORBA::SystemException)); // The skeleton methods. @@ -85,21 +83,19 @@ public: CEC_Pull_Counting_Consumer (const char* name); // Constructor - void connect (CosEventChannelAdmin::ConsumerAdmin_ptr consumer_admin - ACE_ENV_ARG_DECL); - void disconnect (ACE_ENV_SINGLE_ARG_DECL); + void connect (CosEventChannelAdmin::ConsumerAdmin_ptr consumer_admin); + void disconnect (void); // Simple connect/disconnect methods.. void dump_results (int expected_count, int tolerance); // Print out an error message if the event count is too far from the // expected count. - CORBA::Any *pull (ACE_ENV_SINGLE_ARG_DECL); - CORBA::Any *try_pull (CORBA::Boolean_out has_event - ACE_ENV_ARG_DECL); + CORBA::Any *pull (void); + CORBA::Any *try_pull (CORBA::Boolean_out has_event); // = The CosEventComm::PullConsumer methods - virtual void disconnect_pull_consumer (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + virtual void disconnect_pull_consumer (void) ACE_THROW_SPEC ((CORBA::SystemException)); // The skeleton methods. @@ -132,7 +128,7 @@ public: void stop (void); CORBA::ULong pull_count (void); - void run (ACE_ENV_SINGLE_ARG_DECL); + void run (void); // Run a single iteration of the test private: |