Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / orbsvcs / tests / Notify / lib / Relay_Consumer.h
blobffd3c21b456e092b982ed0382075d736c9ddfff2
1 /* -*- C++ -*- */
2 /**
3 * @file Relay_Consumer.h
5 * @author Pradeep Gore <pradeep@oomworks.com>
6 */
8 #ifndef TAO_Notify_Tests_RELAY_CONSUMER_H
9 #define TAO_Notify_Tests_RELAY_CONSUMER_H
10 #include /**/ "ace/pre.h"
12 #include "notify_test_export.h"
14 #if !defined (ACE_LACKS_PRAGMA_ONCE)
15 # pragma once
16 #endif /* ACE_LACKS_PRAGMA_ONCE */
18 #include "Direct_Consumer.h"
20 /**
21 * @class TAO_Notify_Tests_Relay_Consumer
23 * @brief Relay events to a destination consumer.
25 class TAO_NOTIFY_TEST_Export TAO_Notify_Tests_Relay_Consumer : public TAO_Notify_Tests_Direct_Consumer
27 public:
28 /// Constructor
29 TAO_Notify_Tests_Relay_Consumer (ACE_CString& destination);
31 /// Destructor
32 ~TAO_Notify_Tests_Relay_Consumer ();
34 /// Connect using options parsed and set initial QoS.
35 virtual void connect ();
37 void push_structured_event (const CosNotification::StructuredEvent &/*notification*/);
39 protected:
40 /// Destination object.
41 ACE_CString destination_;
43 /// This object is resolved in the connect method.
44 CosNotifyComm::StructuredPushConsumer_var destination_object_;
47 #include /**/ "ace/post.h"
48 #endif /* TAO_Notify_Tests_RELAY_CONSUMER_H */