diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.h b/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.h index c87d563935a..1bc33a07e4f 100644 --- a/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.h +++ b/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Server.h @@ -48,7 +48,7 @@ public: /// This operation returns the current system time and an estimate of /// inaccuracy in a UTO. - virtual CosTime::UTO_ptr universal_time (ACE_ENV_SINGLE_ARG_DECL) + virtual CosTime::UTO_ptr universal_time (void) ACE_THROW_SPEC ((CORBA::SystemException, CosTime::TimeUnavailable)); @@ -57,26 +57,23 @@ public: * can be guaranteed to have been obtained securely. Currently this operation * is not implemented and throws a CORBA::NO_IMPLEMENT exception, if called. */ - virtual CosTime::UTO_ptr secure_universal_time (ACE_ENV_SINGLE_ARG_DECL) + virtual CosTime::UTO_ptr secure_universal_time (void) ACE_THROW_SPEC ((CORBA::SystemException, CosTime::TimeUnavailable)); /// This creates a new UTO based on the given parameters. virtual CosTime::UTO_ptr new_universal_time (TimeBase::TimeT time, TimeBase::InaccuracyT inaccuracy, - TimeBase::TdfT tdf - ACE_ENV_ARG_DECL) + TimeBase::TdfT tdf) ACE_THROW_SPEC ((CORBA::SystemException)); /// This creates a new UTO given a time in the UtcT form. - virtual CosTime::UTO_ptr uto_from_utc (const TimeBase::UtcT &utc - ACE_ENV_ARG_DECL) + virtual CosTime::UTO_ptr uto_from_utc (const TimeBase::UtcT &utc) ACE_THROW_SPEC ((CORBA::SystemException)); /// This creates a new TIO with the given parameters. virtual CosTime::TIO_ptr new_interval (TimeBase::TimeT lower, - TimeBase::TimeT upper - ACE_ENV_ARG_DECL) + TimeBase::TimeT upper) ACE_THROW_SPEC ((CORBA::SystemException)); }; |