summaryrefslogtreecommitdiff
path: root/apps/Gateway/Gateway/Consumer_Entry.cpp
blob: c3dcd96ebbf8506d4dea92a01c205349117c360c (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
// Defines an entry in the Consumer Map.
// $Id$

#include "Consumer_Entry.h"

Consumer_Entry::Consumer_Entry (void)
{
  ACE_NEW (this->destinations_, Consumer_Entry::ENTRY_SET);
}

Consumer_Entry::~Consumer_Entry (void)
{
  delete this->destinations_;
}

// Get the associated set of destinations.

Consumer_Entry::ENTRY_SET *
Consumer_Entry::destinations (void)
{
  return this->destinations_;
}

// Set the associated set of destinations.

void 
Consumer_Entry::destinations (Consumer_Entry::ENTRY_SET *s)
{
  this->destinations_ = s;
}