diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Trading_Service/Offer_Exporter.h')
-rw-r--r-- | TAO/orbsvcs/tests/Trading_Service/Offer_Exporter.h | 101 |
1 files changed, 0 insertions, 101 deletions
diff --git a/TAO/orbsvcs/tests/Trading_Service/Offer_Exporter.h b/TAO/orbsvcs/tests/Trading_Service/Offer_Exporter.h deleted file mode 100644 index ad16221c3cf..00000000000 --- a/TAO/orbsvcs/tests/Trading_Service/Offer_Exporter.h +++ /dev/null @@ -1,101 +0,0 @@ -// $Id$ - -// ======================================================================== -// -// = FILE -// Offer_Exporter.h -// -// = DESCRIPTION -// Class that tests the Trading Service's Register Interface -// -// = AUTHOR -// Seth Widoff <sbw1@cs.wustl.edu> -// -// ======================================================================= - -#ifndef TAO_OFFER_EXPORTER_H -#define TAO_OFFER_EXPORTER_H - -#include "TT_Info.h" -#include "orbsvcs/Trader/Dynamic_Property.h" - -class TAO_Offer_Exporter -{ -public: - - TAO_Offer_Exporter (CosTrading::Register_ptr register_if, - CORBA::Environment& env) - TAO_THROW_SPEC ((CORBA::SystemException)); - - ~TAO_Offer_Exporter (void); - - void export_offers (CORBA::Environment& env) - TAO_THROW_SPEC ((CORBA::SystemException, - CosTrading::Register::InvalidObjectRef, - CosTrading::IllegalServiceType, - CosTrading::UnknownServiceType, - CosTrading::Register::InterfaceTypeMismatch, - CosTrading::IllegalPropertyName, - CosTrading::PropertyTypeMismatch, - CosTrading::ReadonlyDynamicProperty, - CosTrading::MissingMandatoryProperty, - CosTrading::DuplicatePropertyName)); - - void withdraw_offers (CORBA::Environment& env) - TAO_THROW_SPEC ((CORBA::SystemException, - CosTrading::IllegalOfferId, - CosTrading::UnknownOfferId, - CosTrading::Register::ProxyOfferId)); - - void describe_offers (CORBA::Environment& env) - TAO_THROW_SPEC ((CORBA::SystemException, - CosTrading::IllegalOfferId, - CosTrading::UnknownOfferId, - CosTrading::Register::ProxyOfferId)); - - void modify_offers (CORBA::Environment& env) - TAO_THROW_SPEC ((CORBA::SystemException, - CosTrading::NotImplemented, - CosTrading::IllegalOfferId, - CosTrading::UnknownOfferId, - CosTrading::Register::ProxyOfferId, - CosTrading::IllegalPropertyName, - CosTrading::Register::UnknownPropertyName, - CosTrading::PropertyTypeMismatch, - CosTrading::ReadonlyDynamicProperty, - CosTrading::Register::MandatoryProperty, - CosTrading::Register::ReadonlyProperty, - CosTrading::DuplicatePropertyName)); - - void withdraw_offers_using_constraints (CORBA::Environment& env) - TAO_THROW_SPEC ((CORBA::SystemException, - CosTrading::IllegalServiceType, - CosTrading::UnknownServiceType, - CosTrading::IllegalConstraint, - CosTrading::Register::NoMatchingOffers)); - -private: - - CosTrading::OfferIdSeq* grab_offerids (CORBA::Environment& env) - TAO_THROW_SPEC ((CORBA::SystemException, - CosTrading::NotImplemented)); - - void create_offers (void); - - CosTrading::Register_var register_; - CosTrading::Admin_var admin_; - - TT_Info::Printer printer_[NUM_OFFERS]; - TT_Info::Plotter plotter_[NUM_OFFERS]; - TT_Info::File_System fs_[NUM_OFFERS]; - - TAO_Dynamic_Property dp_plotters_[NUM_OFFERS]; - TAO_Dynamic_Property dp_printers_[NUM_OFFERS]; - TAO_Dynamic_Property dp_fs_[NUM_OFFERS]; - - CosTrading::PropertySeq props_plotters_[NUM_OFFERS]; - CosTrading::PropertySeq props_printers_[NUM_OFFERS]; - CosTrading::PropertySeq props_fs_[NUM_OFFERS]; -}; - -#endif /* TAO_OFFER_EXPORTER_H */ |