Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / orbsvcs / examples / CosEC / Simple / Supplier.h
blob897ef6acbd7e35b2e4b36d03bfb4c3a5904fc087
1 /* -*- C++ -*- */
2 //=============================================================================
3 /**
4 * @file Supplier.h
6 * @author Carlos O'Ryan (coryan@cs.wustl.edu)
7 */
8 //=============================================================================
11 #ifndef SUPPLIER_H
12 #define SUPPLIER_H
14 #include "orbsvcs/CosEventCommS.h"
16 #if !defined (ACE_LACKS_PRAGMA_ONCE)
17 # pragma once
18 #endif /* ACE_LACKS_PRAGMA_ONCE */
20 /**
21 * @class Supplier
23 * @brief Simple supplier object
25 * This class is a supplier of events.
27 class Supplier : public POA_CosEventComm::PushSupplier
29 public:
30 /// Constructor
31 Supplier (void);
33 /// Run the test
34 int run (int argc, ACE_TCHAR* argv[]);
36 // = The CosEventComm::PushSupplier methods
38 /// The skeleton methods.
39 virtual void disconnect_push_supplier (void);
41 private:
44 #endif /* SUPPLIER_H */