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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
//
// $Id$
//
#include "Roundtrip.h"
Roundtrip::Roundtrip (CORBA::ORB_ptr orb)
: orb_ (CORBA::ORB::_duplicate (orb))
{
}
void
Roundtrip::test_octet_method (
Test::AMH_RoundtripResponseHandler_ptr _tao_rh,
const Test::octet_load &,
Test::Timestamp send_time)
{
//ACE_DEBUG ((LM_DEBUG, "Test_Octet_Method called\n"));
_tao_rh->test_octet_method (send_time);
//ACE_DEBUG ((LM_DEBUG, "RH completed\n"));
}
void
Roundtrip::test_long_method (
Test::AMH_RoundtripResponseHandler_ptr _tao_rh,
const Test::long_load &,
Test::Timestamp send_time)
{
//ACE_DEBUG ((LM_DEBUG, "Test_Long_Method called\n"));
_tao_rh->test_long_method (send_time);
//ACE_DEBUG ((LM_DEBUG, "RH completed\n"));
}
void
Roundtrip::test_short_method (
Test::AMH_RoundtripResponseHandler_ptr _tao_rh,
const Test::short_load &,
Test::Timestamp send_time)
{
//ACE_DEBUG ((LM_DEBUG, "Test_Short_Method called\n"));
_tao_rh->test_short_method (send_time);
//ACE_DEBUG ((LM_DEBUG, "RH completed\n"));
}
void
Roundtrip::test_char_method (
Test::AMH_RoundtripResponseHandler_ptr _tao_rh,
const Test::char_load &,
Test::Timestamp send_time)
{
//ACE_DEBUG ((LM_DEBUG, "Test_Char_Method called\n"));
_tao_rh->test_char_method (send_time);
//ACE_DEBUG ((LM_DEBUG, "RH completed\n"));
}
void
Roundtrip::test_longlong_method (
Test::AMH_RoundtripResponseHandler_ptr _tao_rh,
const Test::longlong_load &,
Test::Timestamp send_time)
{
//ACE_DEBUG ((LM_DEBUG, "Test_Longlong_Method called\n"));
_tao_rh->test_longlong_method (send_time);
//ACE_DEBUG ((LM_DEBUG, "RH completed\n"));
}
void
Roundtrip::test_double_method (
Test::AMH_RoundtripResponseHandler_ptr _tao_rh,
const Test::double_load &,
Test::Timestamp send_time)
{
//ACE_DEBUG ((LM_DEBUG, "Test_Double_Method called\n"));
_tao_rh->test_double_method (send_time);
//ACE_DEBUG ((LM_DEBUG, "RH completed\n"));
}
void
Roundtrip::shutdown (
Test::AMH_RoundtripResponseHandler_ptr _tao_rh)
{
_tao_rh->shutdown ();
this->orb_->shutdown (0);
}
|