summaryrefslogtreecommitdiff
path: root/apps/Gateway/Gateway/Consumer_Entry.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-12-15 16:38:54 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-12-15 16:38:54 +0000
commitd0b22560e2f8ee49cb6b62c3cab0260bd29a939f (patch)
tree5c7b58240f4d2ab28cec729bb1b7d46a5d01f47f /apps/Gateway/Gateway/Consumer_Entry.h
parent38a7f5bae22d9f3b15804dff59cf26196ccd9838 (diff)
downloadATCD-d0b22560e2f8ee49cb6b62c3cab0260bd29a939f.tar.gz
*** empty log message ***
Diffstat (limited to 'apps/Gateway/Gateway/Consumer_Entry.h')
-rw-r--r--apps/Gateway/Gateway/Consumer_Entry.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/apps/Gateway/Gateway/Consumer_Entry.h b/apps/Gateway/Gateway/Consumer_Entry.h
new file mode 100644
index 00000000000..fe502991514
--- /dev/null
+++ b/apps/Gateway/Gateway/Consumer_Entry.h
@@ -0,0 +1,45 @@
+/* -*- C++ -*- */
+// $Id$
+
+// ============================================================================
+//
+// = LIBRARY
+// apps
+//
+// = FILENAME
+// Consumer_Entry.h
+//
+// = AUTHOR
+// Doug Schmidt
+//
+// ============================================================================
+
+#if !defined (_ROUTING_ENTRY)
+#define _ROUTING_ENTRY
+
+#include "ace/Set.h"
+
+// Forward reference.
+class IO_Handler;
+
+class Consumer_Entry
+{
+ // = TITLE
+ // Defines an entry in the Consumer_Map.
+public:
+ Consumer_Entry (void);
+ ~Consumer_Entry (void);
+
+ typedef ACE_Unbounded_Set<IO_Handler *> ENTRY_SET;
+ typedef ACE_Unbounded_Set_Iterator<IO_Handler *> ENTRY_ITERATOR;
+
+ // = Set/get the associated set of destinations.
+ ENTRY_SET *destinations (void);
+ void destinations (ENTRY_SET *);
+
+protected:
+ ENTRY_SET *destinations_;
+ // The set of destinations;
+};
+
+#endif /* _ROUTING_ENTRY */