blob: fe50299151472c8b0e65f62dc5b5e88c8b83a741 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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 */
|