blob: 22b1fd18f1e17f49e5bc39b84338ef5a5505ec5f (
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
|
// $Id$
#include "test_i.h"
#if !defined(__ACE_INLINE__)
#include "test_i.inl"
#endif /* __ACE_INLINE__ */
ACE_RCSID (Send_File,
test_i,
"$Id$")
void
Simple_Server_i::send_line (const char *
ACE_ENV_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
/*
static unsigned long count = 0;
count++;
if (count == 1)
{
ACE_DEBUG ((LM_DEBUG,
"Executed 128 requests. Now it's time to crash!\n"));
ACE_OS::abort ();
}
*/
// ACE_DEBUG ((LM_DEBUG, "%s\n", line));
}
void
Simple_Server_i::shutdown (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
this->orb_->shutdown (0);
}
|