Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / orbsvcs / tests / Notify / Ordering / Notify_Sequence_Push_Consumer.h
blob2f59bc40a038e7feee046ae8deac9899faef5946
1 /* -*- C++ -*- */
2 //=============================================================================
3 /**
4 * @file Notify_Sequence_Push_Consumer.h
6 * A sequence push consumer implementation.
8 * @author Chad Elliott <elliott_c@ociweb.com>
9 */
10 //=============================================================================
12 #ifndef TAO_NOTIFY_SEQUENCE_PUSH_CONSUMER_H
13 #define TAO_NOTIFY_SEQUENCE_PUSH_CONSUMER_H
15 #include "Notify_SequencePushConsumer.h"
17 class Notify_Test_Client;
19 class Notify_Sequence_Push_Consumer: public TAO_Notify_Tests_SequencePushConsumer
21 public:
22 Notify_Sequence_Push_Consumer (const char* name,
23 CORBA::Short policy,
24 bool use_ordering,
25 int expected_count,
26 Notify_Test_Client& client);
28 void _connect (CosNotifyChannelAdmin::ConsumerAdmin_ptr consumer_admin);
30 protected:
31 void push_structured_events (const CosNotification::EventBatch&);
33 ACE_CString name_;
34 CORBA::Short order_policy_;
35 bool use_ordering_;
36 int expected_;
37 int count_;
38 int previous_first_;
39 Notify_Test_Client& client_;
42 #endif /* TAO_NOTIFY_SEQUENCE_PUSH_CONSUMER_H */