Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / performance-tests / Callback / Server_i.cpp
blobde5cd14c3dd593033079026fe7f05015b3ae34b8
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 ()
26 this->done_ = 1;