Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / Bug_3768_Regression / TestServer.cpp
blob948e33a5f80b822a14ced309ee0e9560cc5e0bde
1 #include "TestServer.h"
3 void
4 TestServer::pass_callback (Test::TestCallback_ptr test)
6 // Save the callback object
7 callback_ = Test::TestCallback::_duplicate(test);
9 // Start worker threads on the client: this call won't come back
10 callback_->start_threads_and_block();
13 bool
14 TestServer::got_callback ()
16 return (callback_.in() != 0);
19 void
20 TestServer::make_callback ()
22 callback_->test_call();
25 void
26 TestServer::shutdown_client ()
28 callback_->shutdown();