Continued changes from peer review
[ACE_TAO.git] / TAO / performance-tests / Callback / Server_i.cpp
blob7751da4e5b8a1fc617741eb3e8a42ea790bb6767
1 #include "Server_i.h"
3 #if !defined(__ACE_INLINE__)
4 #include "Server_i.inl"
5 #endif /* __ACE_INLINE__ */
7 void
8 Server_i::set_callback (Test::Callback_ptr callback)
10 this->callback_ = Test::Callback::_duplicate (callback);
13 void
14 Server_i::request (Test::TimeStamp time_stamp,
15 const Test::Payload &payload)
17 if (CORBA::is_nil (this->callback_.in ()))
18 return;
20 this->callback_->response (time_stamp, payload);
23 void
24 Server_i::shutdown (void)
26 this->done_ = 1;