blob: 2257f9a2bd7beb221ea2f3307b0ef711b37341b7 (
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
|
//
// $Id$
//
#include "RMCast_Proxy.h"
#if !defined (__ACE_INLINE__)
# include "RMCast_Proxy.i"
#endif /* ! __ACE_INLINE__ */
ACE_RCSID(ace, RMCast_Proxy, "$Id$")
ACE_RMCast_Proxy::~ACE_RMCast_Proxy (void)
{
}
ACE_UINT32
ACE_RMCast_Proxy::next_expected (void) const
{
return this->next_expected_;
}
ACE_UINT32
ACE_RMCast_Proxy::highest_received (void) const
{
return this->highest_received_;
}
int
ACE_RMCast_Proxy::ack (ACE_RMCast::Ack &ack)
{
this->next_expected_ = ack.next_expected;
this->highest_received_ = ack.highest_received;
return this->ACE_RMCast_Module::ack (ack);
}
int
ACE_RMCast_Proxy::reply_ack_join (ACE_RMCast::Ack_Join &ack_join)
{
if (this->next_expected_ < ack_join.next_sequence_number)
{
this->next_expected_ = ack_join.next_sequence_number;
this->highest_received_ = ack_join.next_sequence_number;
}
return 0;
}
|