summaryrefslogtreecommitdiff
path: root/protocols/ace/RMCast/RMCast_Module.cpp
blob: 08ff971f03911b50f161494cb2a3c56f2632b9f2 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
//
// $Id$
//

#include "RMCast_Module.h"

#if !defined (__ACE_INLINE__)
# include "RMCast_Module.i"
#endif /* ! __ACE_INLINE__ */

ACE_RCSID(ace, RMCast_Module, "$Id$")

ACE_RMCast_Module::~ACE_RMCast_Module (void)
{
}

int
ACE_RMCast_Module::next (ACE_RMCast_Module *next)
{
  if (this->next_ != 0 && next != 0)
    return 1;
  this->next_ = next;
  return 0;
}

ACE_RMCast_Module *
ACE_RMCast_Module::next (void) const
{
  return this->next_;
}

int
ACE_RMCast_Module::open (void)
{
  return 0;
}

int
ACE_RMCast_Module::close (void)
{
  return 0;
}

int
ACE_RMCast_Module::data (ACE_RMCast::Data &data)
{
  if (this->next () != 0)
    return this->next ()->data (data);
  return 0;
}

int
ACE_RMCast_Module::poll (ACE_RMCast::Poll &poll)
{
  if (this->next () != 0)
    return this->next ()->poll (poll);
  return 0;
}

int
ACE_RMCast_Module::ack_join (ACE_RMCast::Ack_Join &ack_join)
{
  if (this->next () != 0)
    return this->next ()->ack_join (ack_join);
  return 0;
}

int
ACE_RMCast_Module::ack_leave (ACE_RMCast::Ack_Leave &ack_leave)
{
  if (this->next () != 0)
    return this->next ()->ack_leave (ack_leave);
  return 0;
}

int
ACE_RMCast_Module::ack (ACE_RMCast::Ack &ack)
{
  if (this->next () != 0)
    return this->next ()->ack (ack);
  return 0;
}

int
ACE_RMCast_Module::join (ACE_RMCast::Join &join)
{
  if (this->next () != 0)
    return this->next ()->join (join);
  return 0;
}

int
ACE_RMCast_Module::leave (ACE_RMCast::Leave &leave)
{
  if (this->next () != 0)
    return this->next ()->leave (leave);
  return 0;
}