diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-12-04 21:57:15 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-12-04 21:57:15 +0000 |
commit | 812b40ded88b1c6bc5b05c2f310a4cff0552ad68 (patch) | |
tree | ad7d5c2c0955675cba6cf0113f71d40816345919 /TAO/tao/ORB.h | |
parent | fff375393ce52120d6adb15e1b0246f254945d45 (diff) | |
download | ATCD-812b40ded88b1c6bc5b05c2f310a4cff0552ad68.tar.gz |
ChangeLogTag:Sat Dec 4 15:47:55 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/ORB.h')
-rw-r--r-- | TAO/tao/ORB.h | 36 |
1 files changed, 14 insertions, 22 deletions
diff --git a/TAO/tao/ORB.h b/TAO/tao/ORB.h index c2646226f72..9622e4a8b50 100644 --- a/TAO/tao/ORB.h +++ b/TAO/tao/ORB.h @@ -458,7 +458,6 @@ public: static CORBA::TypeCode_ptr _tc_InconsistentTypeCode; // Dynamic Any factory functions. - // @@EXC@@ Add the ACE_THROW_SPEC for these functions... CORBA_DynAny_ptr create_dyn_any (const CORBA_Any& any, CORBA::Environment &ACE_TRY_ENV @@ -525,16 +524,14 @@ public: // = ORB event loop methods. - int run (CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); + int run (CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()); // Instructs the ORB to initialize itself and run its event loop in // the current thread, not returning until the ORB has shut down. // If an error occurs during initialization or a run-time this // method will return -1. int run (ACE_Time_Value &tv, - CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); + CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()); // Instructs the ORB to initialize itself and run its event loop in // the current thread, not returning until the ORB has shut down. // If an error occurs during initialization or a run-time this @@ -545,8 +542,7 @@ public: // is returned. int run (ACE_Time_Value *tv, - CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); + CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()); // Instructs the ORB to initialize itself and run its event loop in // the current thread, not returning until the ORB has shut down. // If an error occurs during initialization or a run-time this @@ -557,8 +553,7 @@ public: // the value of 1 is returned. void shutdown (CORBA::Boolean wait_for_completion = 0, - CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); + CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()); // This operation instructs the ORB to shut down. Shutting down the // ORB causes all Object Adapters to be shut down. If // <wait_for_completion> parameter is TRUE, this operation blocks @@ -566,27 +561,26 @@ public: // deactivation or other operations associated with object adapters) // has completed. - void destroy (CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); - + void destroy (CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()); + // Destroy the ORB, releasing any resources. Notice that TAO *cannot* + // release the resources even if you have destroyed all the + // references to a particular ORB. CORBA::ORB_init() is required to + // return the same pointer if called with the same ORBid, only after + // ORB::destroy() is called it may return a new one. CORBA::Boolean work_pending (CORBA_Environment &ACE_TRY_ENV = - TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); + TAO_default_environment ()); // Returns an indication of whether the ORB needs to perform some // work. int perform_work (const ACE_Time_Value & = ACE_Time_Value::zero, CORBA_Environment &ACE_TRY_ENV = - TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); + TAO_default_environment ()); // This operation performs an implementation-defined unit of // work. Note that the default behavior is not to block; this // behavior can be modified by passing an appropriate // <ACE_Time_Value>. - // @@EXC@@ Add the ACE_THROW_SPEC for these two functions - CORBA_Object_ptr resolve_initial_references (const char *name, CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()); @@ -617,8 +611,7 @@ public: CORBA::Policy_ptr create_policy (CORBA::PolicyType type, const CORBA::Any& val, CORBA_Environment &ACE_TRY_ENV = - TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException, CORBA::PolicyError)); + TAO_default_environment ()); #endif /* TAO_HAS_CORBA_MESSAGING */ // ---------------------------------------------------------------- @@ -737,8 +730,7 @@ protected: int run (ACE_Time_Value *tv, int break_on_timeouts, - CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()) - ACE_THROW_SPEC ((CORBA::SystemException)); + CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()); // Implements the run routine private: |