summaryrefslogtreecommitdiff
path: root/ACE/protocols/ace/RMCast/Stack.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/protocols/ace/RMCast/Stack.h')
-rw-r--r--ACE/protocols/ace/RMCast/Stack.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/ACE/protocols/ace/RMCast/Stack.h b/ACE/protocols/ace/RMCast/Stack.h
new file mode 100644
index 00000000000..322fe0dc501
--- /dev/null
+++ b/ACE/protocols/ace/RMCast/Stack.h
@@ -0,0 +1,59 @@
+// file : ace/RMCast/Stack.h
+// author : Boris Kolpackov <boris@kolpackov.net>
+// cvs-id : $Id$
+
+#ifndef ACE_RMCAST_STACK_H
+#define ACE_RMCAST_STACK_H
+
+#include "Protocol.h"
+
+namespace ACE_RMCast
+{
+ struct Out_Element
+ {
+ virtual
+ ~Out_Element ();
+
+ Out_Element ();
+
+ virtual void
+ out_stop ();
+
+ virtual void
+ out_start (Out_Element* out);
+
+ virtual void
+ send (Message_ptr m);
+
+ protected:
+ Out_Element* out_;
+ };
+
+
+ struct In_Element
+ {
+ virtual
+ ~In_Element ();
+
+ In_Element ();
+
+ virtual void
+ in_stop ();
+
+ virtual void
+ in_start (In_Element* in);
+
+ virtual void
+ recv (Message_ptr m);
+
+ protected:
+ In_Element* in_;
+ };
+
+
+ struct Element : In_Element, Out_Element
+ {
+ };
+}
+
+#endif // ACE_RMCAST_STACK_H