blob: b4dd1e68888de2e1576a624179c5d131b56d75d8 (
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
|
//$Id$
#if !defined (TAO_DEMUX_TEST_I_H)
#define TAO_DEMUX_TEST_I_H
// Implementation of TAO's Demux_Test interface
#include "demux_testS.h"
class Demux_Test_i : public POA_Demux_Test
{
public:
Demux_Test_i (void);
//ctor.
Demux_Test_i (PortableServer::POA_ptr poa)
: poa_ (PortableServer::POA::_duplicate (poa))
{
};
// ctor
~Demux_Test_i (void);
// dtor
// Return the Default POA of this Servant
PortableServer::POA_ptr _default_POA (/*env*/)
{
return PortableServer::POA::_duplicate (this->poa_.in ());
};
virtual void M302 (void);
virtual void shutdown (void);
private:
PortableServer::POA_var poa_;
// Implement a different _default_POA()
};
#endif /* TAO_DEMUX_TEST_I_H */
|