2 //=============================================================================
4 * @file Notify_Structured_Push_Consumer.h
6 * A structured push consumer implementation.
8 * @author Chad Elliott <elliott_c@ociweb.com>
10 //=============================================================================
12 #ifndef TAO_NOTIFY_STRUCTURED_PUSH_CONSUMER_H
13 #define TAO_NOTIFY_STRUCTURED_PUSH_CONSUMER_H
15 #include "Notify_StructuredPushConsumer.h"
16 #include "orbsvcs/TimeBaseC.h"
18 class Notify_Test_Client
;
20 class Notify_Structured_Push_Consumer
:
21 public TAO_Notify_Tests_StructuredPushConsumer
24 Notify_Structured_Push_Consumer (const char* name
,
25 unsigned int expected
,
26 Notify_Test_Client
& client
);
28 void _connect (CosNotifyChannelAdmin::ConsumerAdmin_ptr consumer_admin
);
29 void set_delay_parameters (unsigned int delayCount_
, unsigned long delayPeriod_
);
32 void push_structured_event (const CosNotification::StructuredEvent
&);
35 unsigned int expected_
;
37 unsigned int delay_count_
;
38 unsigned long delay_period_
;
39 Notify_Test_Client
& client_
;
42 #endif /* TAO_NOTIFY_STRUCTURED_PUSH_CONSUMER_H */