diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-01-14 08:34:01 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-01-14 08:34:01 +0000 |
commit | 12521f45cd85d2e89125c532bdb0df62409bf164 (patch) | |
tree | 832e81ec9b3c5b3b540d569bb4526b23c848c6b2 /TAO/orbsvcs/tests/Trading/Service_Type_Exporter.h | |
parent | 8f4d76cd59b787031f27fb40c2e3c473e86a3834 (diff) | |
download | ATCD-ACE-4_6_13.tar.gz |
This commit was manufactured by cvs2svn to create tag 'ACE-4_6_13'.ACE-4_6_13
Diffstat (limited to 'TAO/orbsvcs/tests/Trading/Service_Type_Exporter.h')
-rw-r--r-- | TAO/orbsvcs/tests/Trading/Service_Type_Exporter.h | 121 |
1 files changed, 0 insertions, 121 deletions
diff --git a/TAO/orbsvcs/tests/Trading/Service_Type_Exporter.h b/TAO/orbsvcs/tests/Trading/Service_Type_Exporter.h deleted file mode 100644 index 004caf3410d..00000000000 --- a/TAO/orbsvcs/tests/Trading/Service_Type_Exporter.h +++ /dev/null @@ -1,121 +0,0 @@ -// $Id$ - -// ======================================================================== -// -// = FILE -// Offer_Exporter.h -// -// = DESCRIPTION -// Class that tests the Trading Service's Service Type Repository -// -// = AUTHOR -// Seth Widoff <sbw1@cs.wustl.edu> -// -// ======================================================================= - -#ifndef TAO_SERVICE_TYPE_EXPORTER_H -#define TAO_SERVICE_TYPE_EXPORTER_H - -#include "TT_Info.h" - -class TAO_Service_Type_Exporter -{ -public: - - TAO_Service_Type_Exporter (CosTrading::Lookup_ptr lookup_if, - CORBA::Boolean verbose, - CORBA::Environment& _env) - TAO_THROW_SPEC ((CORBA::SystemException)); - - void remove_all_types (CORBA::Environment& _env) - TAO_THROW_SPEC ((CORBA::SystemException, - CosTrading::IllegalServiceType, - CosTrading::UnknownServiceType, - CosTradingRepos::ServiceTypeRepository::HasSubTypes)); - // Remove all service types from the trading service instance. - - void add_all_types (CORBA::Environment& _env) - TAO_THROW_SPEC ((CORBA::SystemException, - CosTrading::IllegalServiceType, - CosTradingRepos::ServiceTypeRepository::ServiceTypeExists, - CosTradingRepos::ServiceTypeRepository::InterfaceTypeMismatch, - CosTrading::IllegalPropertyName, - CosTrading::DuplicatePropertyName, - CosTradingRepos::ServiceTypeRepository::ValueTypeRedefinition, - CosTrading::UnknownServiceType, - CosTradingRepos::ServiceTypeRepository::DuplicateServiceTypeName)); - // Add all the generated service types to the trading service instance. - - void add_all_types_to_all (CORBA::Environment& _env) - TAO_THROW_SPEC ((CORBA::SystemException, - CosTrading::IllegalServiceType, - CosTradingRepos::ServiceTypeRepository::ServiceTypeExists, - CosTradingRepos::ServiceTypeRepository::InterfaceTypeMismatch, - CosTrading::IllegalPropertyName, - CosTrading::DuplicatePropertyName, - CosTradingRepos::ServiceTypeRepository::ValueTypeRedefinition, - CosTrading::UnknownServiceType, - CosTradingRepos::ServiceTypeRepository::DuplicateServiceTypeName)); - // Add all the generated service types to all the trading service - // instances linked to the trading service we bootstrapped to. - - void list_all_types (CORBA::Environment& _env) - TAO_THROW_SPEC ((CORBA::SystemException)); - // List all the service types registered with the trading service - // instance. - - void describe_all_types (CORBA::Environment& _env) - TAO_THROW_SPEC ((CORBA::SystemException, - CosTrading::IllegalServiceType, - CosTrading::UnknownServiceType)); - // Describe all the service types registered with the trading - // service instance. - - void fully_describe_all_types (CORBA::Environment& _env) - TAO_THROW_SPEC ((CORBA::SystemException, - CosTrading::IllegalServiceType, - CosTrading::UnknownServiceType)); - // Same as describe_all_types, but fully describe lists the - // properties of all service types the described service type - // inherits from. - -private: - - void create_types (void); - // Generate the service type description structures. - - void add_all_types_to (CosTradingRepos::ServiceTypeRepository_ptr repos, - CORBA::Environment& _env) - TAO_THROW_SPEC ((CORBA::SystemException, - CosTrading::IllegalServiceType, - CosTradingRepos::ServiceTypeRepository::ServiceTypeExists, - CosTradingRepos::ServiceTypeRepository::InterfaceTypeMismatch, - CosTrading::IllegalPropertyName, - CosTrading::DuplicatePropertyName, - CosTradingRepos::ServiceTypeRepository::ValueTypeRedefinition, - CosTrading::UnknownServiceType, - CosTradingRepos::ServiceTypeRepository::DuplicateServiceTypeName)); - // Add all types to a sepcified service type repository reference. - - void - dump_typestruct (const char* type_name, - const CosTradingRepos::ServiceTypeRepository::TypeStruct& type_struct) const; - // Dump the contents of a service type description to standard - // output. - - CORBA::Boolean verbose_; - // True if the user want profuse output. - - CosTrading::Lookup_ptr lookup_; - // A reference to the lookup interface of the trading service - // instance. - - CosTradingRepos::ServiceTypeRepository_var repos_; - // A reference to a service type repository instance. - - CosTradingRepos::ServiceTypeRepository::TypeStruct type_structs_[NUM_TYPES]; - // Descriptions of all the service types whose property names are - // defined in TT_Info. -}; - -#endif /* TAO_SERVICE_TYPE_EXPORTER_H */ |