// // $Id$ // #include "Session.h" #include "Implicit_Deactivator.h" ACE_RCSID (TAO_RTEC_Perf_RTCORBA_Callback, Session, "$Id$") Session::Session (Test::Callback_ptr cb, PortableServer::POA_ptr poa) : cb_ (Test::Callback::_duplicate (cb)) , poa_ (PortableServer::POA::_duplicate (poa)) { } void Session::sample (Test::Timestamp the_timestamp ACE_ENV_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { this->cb_->sample (the_timestamp ACE_ENV_ARG_PARAMETER); } void Session::shutdown (ACE_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { Implicit_Deactivator deactivator (this ACE_ENV_ARG_PARAMETER); } PortableServer::POA_ptr Session::_default_POA (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) ACE_THROW_SPEC ((CORBA::SystemException)) { return PortableServer::POA::_duplicate (this->poa_.in ()); }