blob: 1368f3c36c8ec2d7139784e0fcc75438d5de9232 (
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
|
//
// $Id$
//
#ifndef TAO_HANG_TEST_I_H
#define TAO_HANG_TEST_I_H
#include /**/ "ace/pre.h"
#include "TestS.h"
#include "ace/OS_NS_unistd.h"
namespace TAO
{
namespace Test
{
class test_i
: public virtual POA_TAO::Test::Hang
{
public:
// = The skeleton methods
virtual void send_stuff (const char* str,
CORBA::Boolean flag
ACE_ENV_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_DEBUG ((LM_DEBUG,
"(%P|%t) - [%C]\n", str));
if (flag)
{
ACE_OS::sleep (10);
ACE_DEBUG ((LM_DEBUG,
"TAO (%P|%t) - Returning from send_stuff\n", str));
}
return;
}
private:
};
}
}
#include /**/ "ace/post.h"
#endif /* TAO_HANG_TEST_I_H */
|