diff options
Diffstat (limited to 'TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.h')
-rw-r--r-- | TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.h b/TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.h index e2b1d0ad833..37124da02eb 100644 --- a/TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.h +++ b/TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.h @@ -42,41 +42,41 @@ class Subscribe Subscribe (void); ~Subscribe (); - void init (int argc, char *argv [], CORBA::Environment &ACE_TRY_ENV); + void init (int argc, char *argv [] TAO_ENV_ARG_DECL); // Init the Client. - void run (CORBA::Environment &ACE_TRY_ENV); + void run (TAO_ENV_SINGLE_ARG_DECL); // Run the demo. void done (void); // Called when all events we are waiting for have occured. protected: - void init_ORB (int argc, char *argv [], CORBA::Environment &ACE_TRY_ENV); + void init_ORB (int argc, char *argv [] TAO_ENV_ARG_DECL); // Initializes the ORB. - void resolve_naming_service (CORBA::Environment &ACE_TRY_ENV); + void resolve_naming_service (TAO_ENV_SINGLE_ARG_DECL); // Try to get hold of a running naming service. - void resolve_Notify_factory (CORBA::Environment &ACE_TRY_ENV); + void resolve_Notify_factory (TAO_ENV_SINGLE_ARG_DECL); // Try to resolve the Notify factory from the Naming service. - void create_EC (CORBA::Environment &ACE_TRY_ENV); + void create_EC (TAO_ENV_SINGLE_ARG_DECL); // Create an EC. - void create_supplieradmin(CORBA::Environment &ACE_TRY_ENV); + void create_supplieradmin(TAO_ENV_SINGLE_ARG_DECL); // Create the Supplier Admin. - void create_consumeradmin (CORBA::Environment &ACE_TRY_ENV); + void create_consumeradmin (TAO_ENV_SINGLE_ARG_DECL); // Create the Consumer Admin. - void create_consumers (CORBA::Environment &ACE_TRY_ENV); + void create_consumers (TAO_ENV_SINGLE_ARG_DECL); // Create and initialize the consumers. - void create_suppliers (CORBA::Environment &ACE_TRY_ENV); + void create_suppliers (TAO_ENV_SINGLE_ARG_DECL); // create and initialize the suppliers. - void send_events (CORBA::Environment &ACE_TRY_ENV); + void send_events (TAO_ENV_SINGLE_ARG_DECL); // send the events. // = Data Members @@ -135,11 +135,11 @@ class Subscribe_StructuredPushConsumer : public POA_CosNotifyComm::StructuredPus Subscribe_StructuredPushConsumer (Subscribe* subscribe); // Constructor. - void connect (CosNotifyChannelAdmin::ConsumerAdmin_ptr consumer_admin, CORBA::Environment &ACE_TRY_ENV); + void connect (CosNotifyChannelAdmin::ConsumerAdmin_ptr consumer_admin TAO_ENV_ARG_DECL); // Connect the Consumer to the EventChannel. // Creates a new proxy supplier and connects to it. - virtual void disconnect (CORBA::Environment &ACE_TRY_ENV); + virtual void disconnect (TAO_ENV_SINGLE_ARG_DECL); // Disconnect from the supplier. CosNotifyChannelAdmin::StructuredProxyPushSupplier_ptr get_proxy_supplier (void); @@ -163,8 +163,8 @@ protected: // = NotifyPublish method virtual void offer_change ( const CosNotification::EventTypeSeq & added, - const CosNotification::EventTypeSeq & removed, - CORBA::Environment &ACE_TRY_ENV + const CosNotification::EventTypeSeq & removed + TAO_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException, @@ -173,8 +173,8 @@ protected: // = StructuredPushSupplier methods virtual void push_structured_event ( - const CosNotification::StructuredEvent & notification, - CORBA::Environment &ACE_TRY_ENV + const CosNotification::StructuredEvent & notification + TAO_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException, @@ -182,7 +182,7 @@ protected: )); virtual void disconnect_structured_push_consumer ( - CORBA::Environment &ACE_TRY_ENV + TAO_ENV_SINGLE_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException @@ -204,16 +204,16 @@ class Subscribe_StructuredPushSupplier : public POA_CosNotifyComm::StructuredPus Subscribe_StructuredPushSupplier (void); // Constructor. - void connect (CosNotifyChannelAdmin::SupplierAdmin_ptr supplier_admin, - CORBA::Environment &ACE_TRY_ENV); + void connect (CosNotifyChannelAdmin::SupplierAdmin_ptr supplier_admin + TAO_ENV_ARG_DECL); // Connect the Supplier to the EventChannel. // Creates a new proxy supplier and connects to it. - void disconnect (CORBA::Environment &ACE_TRY_ENV); + void disconnect (TAO_ENV_SINGLE_ARG_DECL); // Disconnect from the supplier. - virtual void send_event (const CosNotification::StructuredEvent& event, - CORBA::Environment &ACE_TRY_ENV); + virtual void send_event (const CosNotification::StructuredEvent& event + TAO_ENV_ARG_DECL); // Send one event. protected: @@ -231,8 +231,8 @@ protected: // = NotifySubscribe virtual void subscription_change ( const CosNotification::EventTypeSeq & added, - const CosNotification::EventTypeSeq & removed, - CORBA::Environment &ACE_TRY_ENV + const CosNotification::EventTypeSeq & removed + TAO_ENV_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException, @@ -241,7 +241,7 @@ protected: // = StructuredPushSupplier method virtual void disconnect_structured_push_supplier ( - CORBA::Environment &ACE_TRY_ENV + TAO_ENV_SINGLE_ARG_DECL ) ACE_THROW_SPEC (( CORBA::SystemException |