summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-13 20:40:35 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-13 20:40:35 +0000
commit6a73f676d3ef3eb39c3745b99ec9a663c2a8da38 (patch)
tree56d5a8048740f88698833421b1f9317e03c3ea89 /TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h
parent71ab9f2f8f301bea6b2bf9580549cbd2a27da646 (diff)
downloadATCD-6a73f676d3ef3eb39c3745b99ec9a663c2a8da38.tar.gz
ChangeLogTag:Sun Jun 13 15:35:42 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h41
1 files changed, 24 insertions, 17 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h b/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h
index bf1dc48e071..6805e8f844d 100644
--- a/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h
+++ b/TAO/orbsvcs/orbsvcs/Time/TAO_Time_Service_Clerk.h
@@ -18,7 +18,7 @@
// ============================================================================
#ifndef TAO_TIME_SERVICE_CLERK_H
-#define TAO_TIME_SERVICE_CLERK_H
+#define TAO_TIME_SERVICE_CLERK_H
#include "ace/Reactor.h"
#include "orbsvcs/Naming/Naming_Utils.h"
@@ -48,35 +48,42 @@ public:
// = Initialization and termination methods.
TAO_Time_Service_Clerk (int timer_value,
- const IORS& server);
+ const IORS& server);
// Constructor.
~TAO_Time_Service_Clerk (void);
// Destructor.
- virtual CosTime::UTO_ptr universal_time (CORBA::Environment &env);
+ virtual CosTime::UTO_ptr universal_time (CORBA::Environment &env)
+ ACE_THROW_SPEC ((CORBA::SystemException,
+ CosTime::TimeUnavailable));
// This operation returns the global time and an estimate of
// inaccuracy in a UTO.
- virtual CosTime::UTO_ptr secure_universal_time (CORBA::Environment &env);
+ virtual CosTime::UTO_ptr secure_universal_time (CORBA::Environment &env)
+ ACE_THROW_SPEC ((CORBA::SystemException,
+ CosTime::TimeUnavailable));
// This operation returns the global time in a UTO only if the time
// 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 new_universal_time (TimeBase::TimeT time,
- TimeBase::InaccuracyT inaccuracy,
- TimeBase::TdfT tdf,
- CORBA::Environment &env);
+ TimeBase::InaccuracyT inaccuracy,
+ TimeBase::TdfT tdf,
+ CORBA::Environment &env)
+ ACE_THROW_SPEC ((CORBA::SystemException));
// This creates a new UTO based on the given parameters.
virtual CosTime::UTO_ptr uto_from_utc (const TimeBase::UtcT &utc,
- CORBA::Environment &env);
+ CORBA::Environment &env)
+ ACE_THROW_SPEC ((CORBA::SystemException));
// This creates a new UTO given a time in the UtcT form.
virtual CosTime::TIO_ptr new_interval (TimeBase::TimeT lower,
- TimeBase::TimeT upper,
- CORBA::Environment &env);
+ TimeBase::TimeT upper,
+ CORBA::Environment &env)
+ ACE_THROW_SPEC ((CORBA::SystemException));
// This creates a new TIO with the given parameters.
virtual CORBA::ULongLong get_time (void);
@@ -85,19 +92,19 @@ public:
void name_server (TAO_Naming_Server &server);
// This method is called by the driver program to set the Naming
// Server instance.
-
+
CORBA::Short time_displacement_factor (void);
// Returns the time displacement factor.
-
+
void time_displacement_factor (CORBA::Short);
// Set the TDF.
-
+
TimeBase::InaccuracyT inaccuracy (void);
- // GET method for inaccuracy.
-
+ // GET method for inaccuracy.
+
void inaccuracy (TimeBase::InaccuracyT inaccuracy);
- // SET method for inaccuracy.
-
+ // SET method for inaccuracy.
+
CORBA::ULongLong time_;
// Clerk's notion of time.