summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/CosEC/Simple/Supplier.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/examples/CosEC/Simple/Supplier.h')
-rw-r--r--TAO/orbsvcs/examples/CosEC/Simple/Supplier.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/TAO/orbsvcs/examples/CosEC/Simple/Supplier.h b/TAO/orbsvcs/examples/CosEC/Simple/Supplier.h
new file mode 100644
index 00000000000..2e4bcb2cc21
--- /dev/null
+++ b/TAO/orbsvcs/examples/CosEC/Simple/Supplier.h
@@ -0,0 +1,50 @@
+/* -*- C++ -*- */
+// $Id$
+//
+// ============================================================================
+//
+// = LIBRARY
+// ORBSVCS COS Event Channel examples
+//
+// = FILENAME
+// Supplier
+//
+// = AUTHOR
+// Carlos O'Ryan (coryan@cs.wustl.edu)
+//
+// ============================================================================
+
+#ifndef SUPPLIER_H
+#define SUPPLIER_H
+
+#include "orbsvcs/CosEventCommS.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+class Supplier : public POA_CosEventComm::PushSupplier
+{
+ // = TITLE
+ // Simple supplier object
+ //
+ // = DESCRIPTION
+ // This class is a supplier of events.
+ //
+public:
+ Supplier (void);
+ // Constructor
+
+ int run (int argc, char* argv[]);
+ // Run the test
+
+ // = The CosEventComm::PushSupplier methods
+
+ virtual void disconnect_push_supplier (CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+ // The skeleton methods.
+
+private:
+};
+
+#endif /* SUPPLIER_H */