diff options
Diffstat (limited to 'TAO/tests/Quoter/Quoter.idl')
-rw-r--r-- | TAO/tests/Quoter/Quoter.idl | 87 |
1 files changed, 0 insertions, 87 deletions
diff --git a/TAO/tests/Quoter/Quoter.idl b/TAO/tests/Quoter/Quoter.idl deleted file mode 100644 index 7f43ad18e4e..00000000000 --- a/TAO/tests/Quoter/Quoter.idl +++ /dev/null @@ -1,87 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// quoter.idl -// -// = DESCRIPTION -// Quoter example that illustrate the use of the global POA and -// the CosLifeCycle service. -// -// = AUTHOR -// Darrell Brunsch (brunsch@cs.wustl.edu) -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ - -// @@ Is there a way to get TAO's IDL compiler to accept "relative -// names" via the use of a command-line option? It seems wrong to -// hard-code the pathname here. -#include "../../orbsvcs/orbsvcs/CosLifeCycle.idl" - -module Stock -{ - exception Invalid_Stock {}; - exception Invalid_Quoter {}; - - interface Quoter : CosLifeCycle::LifeCycleObject - { - // = TITLE - // Access Stock information. - - long get_quote (in string stock_name) - raises (Invalid_Stock, Invalid_Quoter); - - // Returns the current stock value or throws and exception. - - // LifeCycleObject copy(in FactoryFinder there, - // in Criteria the_criteria) - // raises(NoFactory, NotCopyable, InvalidCriteria, CannotMeetCriteria); - // copies this object to a location "there" using the "the_criteria" - - // void move(in FactoryFinder there, - // in Criteria the_criteria) - // raises(NoFactory, NotMovable, InvalidCriteria, CannotMeetCriteria); - // moves this object to a location "there" using the "the_criteria" - - // void remove() - // raises(NotRemovable); - // removes/deletes this object - - }; - - interface Quoter_Factory - { - // = TITLE - // Creation of Quoter objects - - Quoter create_quoter (in string name) - raises (Invalid_Quoter); - // Returns a new Quoter selected by name e.g., "Dow Jones," - // "Reuters,", etc - }; - - - interface Quoter_Factory_Finder : CosLifeCycle::FactoryFinder - { - // = TITLE - // Wrapper for the CosLifeCycle FactoryFinder - // - // inherits: - // Factories find_factories(in Key factory_key) raises(NoFactory); - }; - - interface Quoter_Generic_Factory : CosLifeCycle::GenericFactory - { - // = TITLE - // Wrapper for the CosLifeCycle GenericFactory - // - // inherits: - // boolean supports(in Key k); - // Object create_object(in Key k, in Criteria the_criteria) - // raises (NoFactory, InvalidCriteria, CannotMeetCriteria); - }; - -}; - |