blob: d43738ae16ff76dd9cb83107711b7719263a2e5a (
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
|
// $Id$
#include "tao/Wait_Strategy.h"
ACE_RCSID(tao, Wait_Strategy, "$Id$")
// Constructor.
TAO_Wait_Strategy::TAO_Wait_Strategy (TAO_Transport *transport)
: transport_ (transport)
{
}
// Destructor.
TAO_Wait_Strategy::~TAO_Wait_Strategy (void)
{
}
int
TAO_Wait_Strategy::sending_request (TAO_ORB_Core * /* orb_core */,
int /* two_way */)
{
return 0;
}
ACE_SYNCH_CONDITION *
TAO_Wait_Strategy::leader_follower_condition_variable (void)
{
return 0;
}
int
TAO_Wait_Strategy::reply_dispatched (int &reply_received,
ACE_SYNCH_CONDITION *)
{
// In most implementations of this strategy there is no need to
// acquire any mutex to set the reply_received flag.
reply_received = 1;
return 0;
}
void
TAO_Wait_Strategy::connection_closed (int &reply_received,
ACE_SYNCH_CONDITION*)
{
// In most implementations of this strategy there is no need to
// acquire any mutex to set the reply_received flag.
reply_received = -1;
}
|