blob: 928d34cb41123e4b0dc042fe053ec5f193a25641 (
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
// $Id$
#include "RMCast_Fork.h"
#if !defined (__ACE_INLINE__)
# include "RMCast_Fork.i"
#endif /* ! __ACE_INLINE__ */
ACE_RCSID(ace, RMCast_Fork, "$Id$")
ACE_RMCast_Fork::~ACE_RMCast_Fork (void)
{
}
int
ACE_RMCast_Fork::open (void)
{
int r = this->ACE_RMCast_Module::open ();
if (r != 0)
return r;
if (this->secondary () != 0)
return this->secondary ()->open ();
return 0;
}
int
ACE_RMCast_Fork::close (void)
{
int r = this->ACE_RMCast_Module::close ();
if (r != 0)
return r;
if (this->secondary () != 0)
return this->secondary ()->close ();
return 0;
}
int
ACE_RMCast_Fork::data (ACE_RMCast::Data &data)
{
int r = this->ACE_RMCast_Module::data (data);
if (r != 0)
return r;
if (this->secondary () != 0)
return this->secondary ()->data (data);
return 0;
}
int
ACE_RMCast_Fork::poll (ACE_RMCast::Poll &poll)
{
int r = this->ACE_RMCast_Module::poll (poll);
if (r != 0)
return r;
if (this->secondary () != 0)
return this->secondary ()->poll (poll);
return 0;
}
int
ACE_RMCast_Fork::ack_join (ACE_RMCast::Ack_Join &ack_join)
{
int r = this->ACE_RMCast_Module::ack_join (ack_join);
if (r != 0)
return r;
if (this->secondary () != 0)
return this->secondary ()->ack_join (ack_join);
return 0;
}
int
ACE_RMCast_Fork::ack_leave (ACE_RMCast::Ack_Leave &ack_leave)
{
int r = this->ACE_RMCast_Module::ack_leave (ack_leave);
if (r != 0)
return r;
if (this->secondary () != 0)
return this->secondary ()->ack_leave (ack_leave);
return 0;
}
int
ACE_RMCast_Fork::ack (ACE_RMCast::Ack &ack)
{
int r = this->ACE_RMCast_Module::ack (ack);
if (r != 0)
return r;
if (this->secondary () != 0)
return this->secondary ()->ack (ack);
return 0;
}
int
ACE_RMCast_Fork::join (ACE_RMCast::Join &join)
{
int r = this->ACE_RMCast_Module::join (join);
if (r != 0)
return r;
if (this->secondary () != 0)
return this->secondary ()->join (join);
return 0;
}
int
ACE_RMCast_Fork::leave (ACE_RMCast::Leave &leave)
{
int r = this->ACE_RMCast_Module::leave (leave);
if (r != 0)
return r;
if (this->secondary () != 0)
return this->secondary ()->leave (leave);
return 0;
}
|