summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/ImplRepo/ReconnectServer/test_i.cpp
blob: 6a76a9bc053b1efcf36599e2057173b25430603d (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
#include "test_i.h"
#include "ace/OS_NS_time.h"

// Implementation skeleton constructor
Test_Dummy_i::Test_Dummy_i (void)
{
}

// Implementation skeleton destructor
Test_Dummy_i::~Test_Dummy_i (void)
{
}

char * Test_Dummy_i::getMessage (void)
{
   // Add your implementation here
   return CORBA::string_dup("Test::Dummy---->Hello World");
}

Test_Time_i::Test_Time_i (void)
{
}

// Implementation skeleton destructor
Test_Time_i::~Test_Time_i (void)
{
}

::CORBA::Long Test_Time_i::current_time (void)
{
   ACE_DEBUG ((LM_DEBUG, "(%P|%t)Test_Time_i::current_time called\n"));
   return CORBA::Long (ACE_OS::time (0));
}

void Test_Time_i::shutdown (void)
{
  ACE_DEBUG ((LM_DEBUG,
              "%C\n",
              "Time_i is shutting down"));
}