blob: 61ceecfc64209b50c09d7cbaf1d4ad442133c630 (
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
|
// -*- C++ -*-
#ifndef TEST_I_H
#define TEST_I_H
#include /**/ "ace/pre.h"
#include "TestS.h"
#include "ace/Task.h"
class ORB_Killer : public ACE_Task_Base
{
public:
/// Constructor
ORB_Killer (CORBA::ORB_ptr orb);
virtual int svc ();
private:
CORBA::ORB_var orb_;
};
/// Implement the Test::Hello interface
class test_i
: public virtual POA_Test::IORTable_Shutdown_Race
{
public:
/// Constructor
test_i (ORB_Killer *k);
// = The skeleton methods
virtual void ping (void);
virtual void shutdown (void);
private:
/// Use an ORB reference to convert strings to objects and shutdown
/// the application.
ORB_Killer *killer_;
};
#include /**/ "ace/post.h"
#endif /* IOR_RACE_I_H */
|