diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.h')
-rw-r--r-- | TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.h | 43 |
1 files changed, 16 insertions, 27 deletions
diff --git a/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.h b/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.h index 480a55ee0b7..5cebcd037f7 100644 --- a/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.h +++ b/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/RedGreen_Test.h @@ -75,11 +75,10 @@ class RedGreen_Test void dump_results (void); void init (int argc, - char *argv [] - ACE_ENV_ARG_DECL); + char *argv []); // Initialize the Client. - void run (ACE_ENV_SINGLE_ARG_DECL); + void run (void); // Run the demo. void done (void); @@ -94,32 +93,31 @@ class RedGreen_Test protected: void init_ORB (int argc, - char *argv [] - ACE_ENV_ARG_DECL); + char *argv []); // Initializes the ORB. - void resolve_naming_service (ACE_ENV_SINGLE_ARG_DECL); + void resolve_naming_service (void); // Try to get hold of a running naming service. - void resolve_Notify_factory (ACE_ENV_SINGLE_ARG_DECL); + void resolve_Notify_factory (void); // Try to resolve the Notify factory from the Naming service. - void create_EC (ACE_ENV_SINGLE_ARG_DECL); + void create_EC (void); // Create an EC. - void create_supplieradmin(ACE_ENV_SINGLE_ARG_DECL); + void create_supplieradmin(void); // Create the Supplier Admin. - void create_consumeradmin (ACE_ENV_SINGLE_ARG_DECL); + void create_consumeradmin (void); // Create the Consumer Admin. - void create_consumers (ACE_ENV_SINGLE_ARG_DECL); + void create_consumers (void); // Create and initialize the consumers. - void create_suppliers (ACE_ENV_SINGLE_ARG_DECL); + void create_suppliers (void); // create and initialize the suppliers. - void send_events (ACE_ENV_SINGLE_ARG_DECL); + void send_events (void); // send the events. // = Data Members. @@ -175,12 +173,11 @@ class RedGreen_Test_StructuredPushConsumer RedGreen_Test_StructuredPushConsumer (RedGreen_Test* RedGreen_Test); // Constructor. - void connect (CosNotifyChannelAdmin::ConsumerAdmin_ptr consumer_admin - ACE_ENV_ARG_DECL); + void connect (CosNotifyChannelAdmin::ConsumerAdmin_ptr consumer_admin); // Connect the Consumer to the EventChannel. // Creates a new proxy supplier and connects to it. - virtual void disconnect (ACE_ENV_SINGLE_ARG_DECL); + virtual void disconnect (void); // Disconnect from the supplier. CosNotifyChannelAdmin::StructuredProxyPushSupplier_ptr get_proxy_supplier ( @@ -221,7 +218,6 @@ protected: virtual void offer_change ( const CosNotification::EventTypeSeq & added, const CosNotification::EventTypeSeq & removed - ACE_ENV_ARG_DECL ) ACE_THROW_SPEC ((CORBA::SystemException, CosNotifyComm::InvalidEventType)); @@ -229,13 +225,11 @@ protected: // = StructuredPushSupplier methods virtual void push_structured_event ( const CosNotification::StructuredEvent & notification - ACE_ENV_ARG_DECL ) ACE_THROW_SPEC ((CORBA::SystemException, CosEventComm::Disconnected)); virtual void disconnect_structured_push_consumer ( - ACE_ENV_SINGLE_ARG_DECL ) ACE_THROW_SPEC ((CORBA::SystemException)); }; @@ -249,7 +243,6 @@ public: virtual void push_structured_event ( const CosNotification::StructuredEvent & notification - ACE_ENV_ARG_DECL ) ACE_THROW_SPEC ((CORBA::SystemException, CosEventComm::Disconnected)); @@ -271,16 +264,14 @@ class RedGreen_Test_StructuredPushSupplier RedGreen_Test_StructuredPushSupplier (void); // Constructor. - void connect (CosNotifyChannelAdmin::SupplierAdmin_ptr supplier_admin - ACE_ENV_ARG_DECL); + void connect (CosNotifyChannelAdmin::SupplierAdmin_ptr supplier_admin); // Connect the Supplier to the EventChannel. // Creates a new proxy supplier and connects to it. - void disconnect (ACE_ENV_SINGLE_ARG_DECL); + void disconnect (void); // Disconnect from the supplier. - virtual void send_event (CosNotification::StructuredEvent& event - ACE_ENV_ARG_DECL); + virtual void send_event (CosNotification::StructuredEvent& event); // Send one event. void accumulate_into (ACE_Throughput_Stats &throughput) const; @@ -308,14 +299,12 @@ protected: virtual void subscription_change ( const CosNotification::EventTypeSeq & added, const CosNotification::EventTypeSeq & removed - ACE_ENV_ARG_DECL ) ACE_THROW_SPEC ((CORBA::SystemException, CosNotifyComm::InvalidEventType)); // = StructuredPushSupplier method virtual void disconnect_structured_push_supplier ( - ACE_ENV_SINGLE_ARG_DECL ) ACE_THROW_SPEC ((CORBA::SystemException)); }; |