summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/ImplRepo/ReconnectServer/test_i.cpp
blob: 8d781e5a64d6474f73980a6bc6e45e362953948f (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
46
47
48
49
50
#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,
              "%s\n",
              "Time_i is shutting down"));

}