blob: cfcdd9fb672077f36081ce82a106af989b74cf72 (
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
|
// -*- C++ -*-
#include "tao/PortableServer/IdUniquenessStrategyMultiple.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
namespace TAO
{
namespace Portable_Server
{
void
IdUniquenessStrategyMultiple::strategy_init (TAO_Root_POA * /*poa*/)
{
}
void
IdUniquenessStrategyMultiple::strategy_cleanup ()
{
}
bool
IdUniquenessStrategyMultiple::is_servant_activation_allowed
(PortableServer::Servant/*servant*/,
bool &/*wait_occurred_restart_call*/)
{
// With the multiple id strategy we can always activate the servant
// another time
return true;
}
bool
IdUniquenessStrategyMultiple::allow_multiple_activations () const
{
return true;
}
}
}
TAO_END_VERSIONED_NAMESPACE_DECL
|