summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.h')
-rw-r--r--TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.h30
1 files changed, 7 insertions, 23 deletions
diff --git a/TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.h b/TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.h
index e309467114b..1205daec5b7 100644
--- a/TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.h
+++ b/TAO/orbsvcs/examples/Notify/Subscribe/Subscribe.h
@@ -139,6 +139,8 @@ class Subscribe_StructuredPushConsumer
CosNotifyChannelAdmin::StructuredProxyPushSupplier_ptr get_proxy_supplier (void);
// Accessor for the Proxy that we're connected to.
+ // public data member for evaluating the results of subscription.
+ CosNotification::EventTypeSeq expected_subscription_;
protected:
// = Data members
CosNotifyChannelAdmin::StructuredProxyPushSupplier_var proxy_supplier_;
@@ -158,26 +160,15 @@ protected:
virtual void offer_change (
const CosNotification::EventTypeSeq & added,
const CosNotification::EventTypeSeq & removed
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- CosNotifyComm::InvalidEventType
- ));
+ );
// = StructuredPushSupplier methods
virtual void push_structured_event (
const CosNotification::StructuredEvent & notification
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- CosEventComm::Disconnected
- ));
+ );
virtual void disconnect_structured_push_consumer (
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
+ );
};
/*****************************************************************/
@@ -222,18 +213,11 @@ protected:
virtual void subscription_change (
const CosNotification::EventTypeSeq & added,
const CosNotification::EventTypeSeq & removed
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- CosNotifyComm::InvalidEventType
- ));
+ );
// = StructuredPushSupplier method
virtual void disconnect_structured_push_supplier (
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
+ );
};
#endif /* NOTIFY_SUBSCRIBE_CLIENT_H */