Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / orbsvcs / tests / Notify / Ordering / Notify_Structured_Push_Consumer.h
blob69550d8a6ea9c20baef4dc2dee92e84976ae7f9f
1 /* -*- C++ -*- */
2 //=============================================================================
3 /**
4 * @file Notify_Structured_Push_Consumer.h
6 * A structured push consumer implementation.
8 * @author Chad Elliott <elliott_c@ociweb.com>
9 */
10 //=============================================================================
12 #ifndef TAO_NOTIFY_STRUCTURED_PUSH_CONSUMER_H
13 #define TAO_NOTIFY_STRUCTURED_PUSH_CONSUMER_H
15 #include "Notify_StructuredPushConsumer.h"
17 class Notify_Test_Client;
19 class Notify_Structured_Push_Consumer: public TAO_Notify_Tests_StructuredPushConsumer
21 public:
22 Notify_Structured_Push_Consumer (
23 const char* name,
24 CORBA::Short policy,
25 bool use_ordering,
26 int expected,
27 Notify_Test_Client& client);
29 void _connect (CosNotifyChannelAdmin::ConsumerAdmin_ptr consumer_admin);
31 protected:
32 void push_structured_event (const CosNotification::StructuredEvent&);
34 ACE_CString name_;
35 CORBA::Short order_policy_;
36 bool use_ordering_;
37 int expected_;
38 int count_;
39 int first_;
40 Notify_Test_Client& client_;
43 #endif /* TAO_NOTIFY_STRUCTURED_PUSH_CONSUMER_H */