1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
// $Id$
// ========================================================================
//
// = FILE
// Offer_Importer.h
//
// = DESCRIPTION
// Class that tests the Trading Service's Lookup Interface
//
// = AUTHOR
// Seth Widoff <sbw1@cs.wustl.edu>
//
// =======================================================================
#ifndef TAO_OFFER_IMPORTER
#define TAO_OFFER_IMPORTER
#include "TT_Info.h"
class TAO_Offer_Importer
{
public:
TAO_Offer_Importer (CosTrading::Lookup_ptr lookup_if);
void perform_queries (CORBA::Environment& _env)
TAO_THROW_SPEC ((CORBA::SystemException,
CosTrading::IllegalServiceType,
CosTrading::UnknownServiceType,
CosTrading::IllegalConstraint,
CosTrading::Lookup::IllegalPreference,
CosTrading::Lookup::IllegalPolicyName,
CosTrading::Lookup::PolicyTypeMismatch,
CosTrading::Lookup::InvalidPolicyValue,
CosTrading::IllegalPropertyName,
CosTrading::DuplicatePropertyName,
CosTrading::DuplicatePolicyName));
void perform_federated_queries (CORBA::Environment& _env)
TAO_THROW_SPEC ((CORBA::SystemException,
CosTrading::IllegalServiceType,
CosTrading::UnknownServiceType,
CosTrading::IllegalConstraint,
CosTrading::Lookup::IllegalPreference,
CosTrading::Lookup::IllegalPolicyName,
CosTrading::Lookup::PolicyTypeMismatch,
CosTrading::Lookup::InvalidPolicyValue,
CosTrading::IllegalPropertyName,
CosTrading::DuplicatePropertyName,
CosTrading::DuplicatePolicyName));
private:
void display_results (const CosTrading::OfferSeq& offer_seq,
CosTrading::OfferIterator_ptr offer_iterator,
CORBA::Environment& _env) const
TAO_THROW_SPEC ((CORBA::SystemException));
CosTrading::Lookup_var lookup_;
};
#endif /* TAO_OFFER_IMPORTER */
|