diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/lib/Direct_Consumer.h')
-rw-r--r-- | TAO/orbsvcs/tests/Notify/lib/Direct_Consumer.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/Notify/lib/Direct_Consumer.h b/TAO/orbsvcs/tests/Notify/lib/Direct_Consumer.h new file mode 100644 index 00000000000..d27c57924c0 --- /dev/null +++ b/TAO/orbsvcs/tests/Notify/lib/Direct_Consumer.h @@ -0,0 +1,44 @@ +/* -*- C++ -*- */ +/** + * @file Direct_Consumer.h + * + * $Id$ + * + * @author Pradeep Gore <pradeep@oomworks.com> + * + * + */ + +#ifndef TAO_Notify_Tests_DIRECT_CONSUMER_H +#define TAO_Notify_Tests_DIRECT_CONSUMER_H +#include /**/ "ace/pre.h" + +#include "notify_test_export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "Periodic_Consumer.h" + +/** + * @class TAO_Notify_Tests_Direct_Consumer + * + * @brief Does not connect to the Notification Service. The Direct Supplier supplies events directly. + * + */ +class TAO_NOTIFY_TEST_Export TAO_Notify_Tests_Direct_Consumer : public TAO_Notify_Tests_Periodic_Consumer +{ +public: + /// Constuctor + TAO_Notify_Tests_Direct_Consumer (void); + + /// Destructor + ~TAO_Notify_Tests_Direct_Consumer (); + + /// Connect using options parsed and set initial QoS. + virtual void connect (ACE_ENV_SINGLE_ARG_DECL); +}; + +#include /**/ "ace/post.h" +#endif /* TAO_Notify_Tests_DIRECT_CONSUMER_H */ |