diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/Bug_3688b_Regression/TestListener.h')
-rw-r--r-- | TAO/orbsvcs/tests/Notify/Bug_3688b_Regression/TestListener.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/Notify/Bug_3688b_Regression/TestListener.h b/TAO/orbsvcs/tests/Notify/Bug_3688b_Regression/TestListener.h new file mode 100644 index 00000000000..90a5b3f2f88 --- /dev/null +++ b/TAO/orbsvcs/tests/Notify/Bug_3688b_Regression/TestListener.h @@ -0,0 +1,51 @@ +// $Id$ +#ifndef testListener_h +#define testListener_h + +#include "bug3688_export.h" + +#include <string> +#include <vector> + +#include "orbsvcs/CosNotifyChannelAdminS.h" +#include "orbsvcs/CosNotifyCommC.h" + + +struct bug3688_Export TestListener +: + public POA_CosNotifyComm::StructuredPushConsumer +{ + TestListener( + CORBA::ORB * p_orb, + std::string const & rc_channelIor, + std::string const & rc_filterExpression = "" + ); + + ~TestListener(); + + virtual void push_structured_event ( + const CosNotification::StructuredEvent & notification + ); + + virtual void disconnect_structured_push_consumer ( ); + + virtual void offer_change( + const CosNotification::EventTypeSeq & added, + const CosNotification::EventTypeSeq & removed + ); + + PortableServer::POA_var mv_rootPOA; + PortableServer::ObjectId_var mv_oid; + CORBA::Object_var mv_this; + CosNotifyChannelAdmin::EventChannel_var mv_eventChannel; + CosNotifyChannelAdmin::ConsumerAdmin_var mv_consumerAdmin; + CosNotifyComm::StructuredPushConsumer_var mv_structuredPushConsumer; + CosNotifyChannelAdmin::StructuredProxyPushSupplier_var mv_proxySupplier; + CosNotifyChannelAdmin::ProxyID m_proxySupplierId; + CosNotifyChannelAdmin::AdminID m_consumerAdminId; + + std::vector<CORBA::Long> m_receivedData; +}; + + +#endif /* testListener_h */ |