diff options
Diffstat (limited to 'TAO/tao/RTCORBA/RT_ORB.h')
-rw-r--r-- | TAO/tao/RTCORBA/RT_ORB.h | 106 |
1 files changed, 27 insertions, 79 deletions
diff --git a/TAO/tao/RTCORBA/RT_ORB.h b/TAO/tao/RTCORBA/RT_ORB.h index 110a44ab880..03c51d802dd 100644 --- a/TAO/tao/RTCORBA/RT_ORB.h +++ b/TAO/tao/RTCORBA/RT_ORB.h @@ -60,23 +60,14 @@ public: /// Destructor. ~TAO_Named_RT_Mutex_Manager (void); - RTCORBA::Mutex_ptr create_mutex (void) - ACE_THROW_SPEC ((CORBA::SystemException)); + RTCORBA::Mutex_ptr create_mutex (void); - void destroy_mutex (RTCORBA::Mutex_ptr the_mutex - ) - ACE_THROW_SPEC ((CORBA::SystemException)); + void destroy_mutex (RTCORBA::Mutex_ptr the_mutex); RTCORBA::Mutex_ptr create_named_mutex (const char *name, - CORBA::Boolean_out created_flag - ) - ACE_THROW_SPEC ((CORBA::SystemException)); + CORBA::Boolean_out created_flag); - RTCORBA::Mutex_ptr open_named_mutex (const char * name - ) - ACE_THROW_SPEC ((CORBA::SystemException, - RTCORBA::RTORB::MutexNotFound - )); + RTCORBA::Mutex_ptr open_named_mutex (const char * name); private: @@ -117,17 +108,14 @@ public: * consistant priority inheritance/piority ceiling semantics * can be guaranteed. */ - virtual RTCORBA::Mutex_ptr create_mutex (void) - ACE_THROW_SPEC ((CORBA::SystemException)); + virtual RTCORBA::Mutex_ptr create_mutex (void); /** * Destroy a mutex. Currently this is a no-op since RTCORBA::Mutex * instances are destroyed as soon as their reference counts go to * 0. */ - virtual void destroy_mutex (RTCORBA::Mutex_ptr the_mutex - ) - ACE_THROW_SPEC ((CORBA::SystemException)); + virtual void destroy_mutex (RTCORBA::Mutex_ptr the_mutex); /** * Create a mutex and assign a name to it. If the @@ -135,68 +123,47 @@ public: * is set to 0. */ virtual RTCORBA::Mutex_ptr create_named_mutex (const char *name, - CORBA::Boolean_out created_flag - ) - ACE_THROW_SPEC ((CORBA::SystemException)); + CORBA::Boolean_out created_flag); /// Retrieve a previously created mutex. - virtual RTCORBA::Mutex_ptr open_named_mutex (const char * name - ) - ACE_THROW_SPEC ((CORBA::SystemException, - RTCORBA::RTORB::MutexNotFound - )); + virtual RTCORBA::Mutex_ptr open_named_mutex (const char * name); /** * Create and return a TCPProtocolProperties instance with the specified * parameters. */ RTCORBA::TCPProtocolProperties_ptr - create_tcp_protocol_properties ( - CORBA::Long send_buffer_size, + create_tcp_protocol_properties (CORBA::Long send_buffer_size, CORBA::Long recv_buffer_size, CORBA::Boolean keep_alive, CORBA::Boolean dont_route, CORBA::Boolean no_delay, - CORBA::Boolean enable_network_priority - ) - ACE_THROW_SPEC ((CORBA::SystemException )); + CORBA::Boolean enable_network_priority); RTCORBA::UnixDomainProtocolProperties_ptr - create_unix_domain_protocol_properties ( - CORBA::Long send_buffer_size, - CORBA::Long recv_buffer_size - ) - ACE_THROW_SPEC ((CORBA::SystemException)); + create_unix_domain_protocol_properties (CORBA::Long send_buffer_size, + CORBA::Long recv_buffer_size); RTCORBA::SharedMemoryProtocolProperties_ptr - create_shared_memory_protocol_properties ( - CORBA::Long send_buffer_size, + create_shared_memory_protocol_properties (CORBA::Long send_buffer_size, CORBA::Long recv_buffer_size, CORBA::Boolean keep_alive, CORBA::Boolean dont_route, CORBA::Boolean no_delay, CORBA::Long preallocate_buffer_size, const char *mmap_filename, - const char *mmap_lockname - ) - ACE_THROW_SPEC ((CORBA::SystemException)); + const char *mmap_lockname); RTCORBA::UserDatagramProtocolProperties_ptr - create_user_datagram_protocol_properties ( - CORBA::Boolean enable_network_priority - ) - ACE_THROW_SPEC ((CORBA::SystemException)); + create_user_datagram_protocol_properties (CORBA::Boolean enable_network_priority); RTCORBA::StreamControlProtocolProperties_ptr - create_stream_control_protocol_properties ( - CORBA::Long send_buffer_size, + create_stream_control_protocol_properties (CORBA::Long send_buffer_size, CORBA::Long recv_buffer_size, CORBA::Boolean keep_alive, CORBA::Boolean dont_route, CORBA::Boolean no_delay, - CORBA::Boolean enable_network_priority - ) - ACE_THROW_SPEC ((CORBA::SystemException)); + CORBA::Boolean enable_network_priority); /// Create a RTCORBA threadpool to manage a set of threads without lanes. virtual RTCORBA::ThreadpoolId @@ -206,9 +173,7 @@ public: RTCORBA::Priority default_priority, CORBA::Boolean allow_request_buffering, CORBA::ULong max_buffered_requests, - CORBA::ULong max_request_buffer_size - ) - ACE_THROW_SPEC ((CORBA::SystemException)); + CORBA::ULong max_request_buffer_size); /** * Create a threadpool and separate it into subsets based on @@ -220,29 +185,19 @@ public: CORBA::Boolean allow_borrowing, CORBA::Boolean allow_request_buffering, CORBA::ULong max_buffered_requests, - CORBA::ULong max_request_buffer_size - ) - ACE_THROW_SPEC ((CORBA::SystemException)); + CORBA::ULong max_request_buffer_size); /// Free the resources associated with the specified threadpool. - virtual void destroy_threadpool (RTCORBA::ThreadpoolId threadpool - ) - ACE_THROW_SPEC ((CORBA::SystemException, - RTCORBA::RTORB::InvalidThreadpool)); + virtual void destroy_threadpool (RTCORBA::ThreadpoolId threadpool); /// Create a priority model policy for use when configuring a POA. virtual RTCORBA::PriorityModelPolicy_ptr - create_priority_model_policy ( - RTCORBA::PriorityModel priority_model, - RTCORBA::Priority server_priority - ) - ACE_THROW_SPEC ((CORBA::SystemException)); + create_priority_model_policy (RTCORBA::PriorityModel priority_model, + RTCORBA::Priority server_priority); /// Create a ThreadpoolPolicy instance for POA creation virtual RTCORBA::ThreadpoolPolicy_ptr - create_threadpool_policy (RTCORBA::ThreadpoolId threadpool - ) - ACE_THROW_SPEC ((CORBA::SystemException)); + create_threadpool_policy (RTCORBA::ThreadpoolId threadpool); /** * Create a PriorityBandedConnectionPolicy instance @@ -250,9 +205,7 @@ public: */ virtual RTCORBA::PriorityBandedConnectionPolicy_ptr create_priority_banded_connection_policy (const RTCORBA::PriorityBands & - priority_bands - ) - ACE_THROW_SPEC ((CORBA::SystemException)); + priority_bands); /** * Create a PrivateConnectionPolicy instance to use on client @@ -260,26 +213,21 @@ public: * to the server. */ virtual RTCORBA::PrivateConnectionPolicy_ptr - create_private_connection_policy (void) - ACE_THROW_SPEC ((CORBA::SystemException)); + create_private_connection_policy (void); /** * Create a ServerProtocolPolicy instance to select and configure * communication protocols on the server side. */ virtual RTCORBA::ServerProtocolPolicy_ptr - create_server_protocol_policy (const RTCORBA::ProtocolList & protocols - ) - ACE_THROW_SPEC ((CORBA::SystemException)); + create_server_protocol_policy (const RTCORBA::ProtocolList & protocols); /** * Create a ClientProtocolPolicy instance to select and configure * communication protocols on the client side. */ virtual RTCORBA::ClientProtocolPolicy_ptr - create_client_protocol_policy (const RTCORBA::ProtocolList & protocols - ) - ACE_THROW_SPEC ((CORBA::SystemException)); + create_client_protocol_policy (const RTCORBA::ProtocolList & protocols); /// Reference to our creating ORB Core. TAO_ORB_Core *orb_core (void) const; |