summaryrefslogtreecommitdiff
path: root/ACE/apps/JAWS2/JAWS/Pipeline.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/apps/JAWS2/JAWS/Pipeline.h')
-rw-r--r--ACE/apps/JAWS2/JAWS/Pipeline.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/ACE/apps/JAWS2/JAWS/Pipeline.h b/ACE/apps/JAWS2/JAWS/Pipeline.h
new file mode 100644
index 00000000000..30e4bf37cc2
--- /dev/null
+++ b/ACE/apps/JAWS2/JAWS/Pipeline.h
@@ -0,0 +1,39 @@
+/* -*- c++ -*- */
+// $Id$
+
+#ifndef JAWS_PIPELINE_H
+#define JAWS_PIPELINE_H
+
+#include "ace/config-all.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "ace/Service_Config.h"
+#include "ace/Stream.h"
+#include "ace/Module.h"
+#include "ace/Task.h"
+
+#include "JAWS/Export.h"
+
+typedef ACE_Stream<ACE_NULL_SYNCH> JAWS_Pipeline_Stream;
+typedef ACE_Module<ACE_NULL_SYNCH> JAWS_Pipeline_Module;
+typedef ACE_Task<ACE_NULL_SYNCH> JAWS_Pipeline_Task;
+
+class JAWS_IO_Handler;
+class JAWS_Dispatch_Policy;
+
+class JAWS_Export JAWS_Pipeline : public JAWS_Pipeline_Task
+ // = TITLE
+ // Methods that are common to pipeline components
+{
+public:
+ JAWS_Pipeline (void);
+ // ACE_Task hooks
+
+ virtual int open (void * = 0);
+ virtual int close (u_long = 0);
+};
+
+#endif /* !defined (JAWS_PIPELINE_H) */