Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / performance-tests / Sequence_Latency / AMH_Single_Threaded / Roundtrip.cpp
blob4fb94c707f46a13550bdf4a226bbfa6fddb303d6
1 #include "Roundtrip.h"
3 Roundtrip::Roundtrip (CORBA::ORB_ptr orb)
4 : orb_ (CORBA::ORB::_duplicate (orb))
8 void
9 Roundtrip::test_octet_method (
10 Test::AMH_RoundtripResponseHandler_ptr _tao_rh,
11 const Test::octet_load &,
12 Test::Timestamp send_time)
14 //ACE_DEBUG ((LM_DEBUG, "Test_Octet_Method called\n"));
15 _tao_rh->test_octet_method (send_time);
16 //ACE_DEBUG ((LM_DEBUG, "RH completed\n"));
19 void
20 Roundtrip::test_long_method (
21 Test::AMH_RoundtripResponseHandler_ptr _tao_rh,
22 const Test::long_load &,
23 Test::Timestamp send_time)
25 //ACE_DEBUG ((LM_DEBUG, "Test_Long_Method called\n"));
26 _tao_rh->test_long_method (send_time);
27 //ACE_DEBUG ((LM_DEBUG, "RH completed\n"));
30 void
31 Roundtrip::test_short_method (
32 Test::AMH_RoundtripResponseHandler_ptr _tao_rh,
33 const Test::short_load &,
34 Test::Timestamp send_time)
36 //ACE_DEBUG ((LM_DEBUG, "Test_Short_Method called\n"));
37 _tao_rh->test_short_method (send_time);
38 //ACE_DEBUG ((LM_DEBUG, "RH completed\n"));
41 void
42 Roundtrip::test_char_method (
43 Test::AMH_RoundtripResponseHandler_ptr _tao_rh,
44 const Test::char_load &,
45 Test::Timestamp send_time)
47 //ACE_DEBUG ((LM_DEBUG, "Test_Char_Method called\n"));
48 _tao_rh->test_char_method (send_time);
49 //ACE_DEBUG ((LM_DEBUG, "RH completed\n"));
53 void
54 Roundtrip::test_longlong_method (
55 Test::AMH_RoundtripResponseHandler_ptr _tao_rh,
56 const Test::longlong_load &,
57 Test::Timestamp send_time)
59 //ACE_DEBUG ((LM_DEBUG, "Test_Longlong_Method called\n"));
60 _tao_rh->test_longlong_method (send_time);
61 //ACE_DEBUG ((LM_DEBUG, "RH completed\n"));
64 void
65 Roundtrip::test_double_method (
66 Test::AMH_RoundtripResponseHandler_ptr _tao_rh,
67 const Test::double_load &,
68 Test::Timestamp send_time)
70 //ACE_DEBUG ((LM_DEBUG, "Test_Double_Method called\n"));
71 _tao_rh->test_double_method (send_time);
72 //ACE_DEBUG ((LM_DEBUG, "RH completed\n"));
75 void
76 Roundtrip::shutdown (
77 Test::AMH_RoundtripResponseHandler_ptr _tao_rh)
79 _tao_rh->shutdown ();
80 this->orb_->shutdown (false);