import "CosTrading.idl";
Inherits CosTrading::TraderComponents, CosTrading::SupportAttributes, and CosTrading::ImportAttributes.
Public Types | |
| typedef Istring | Preference |
| none | |
| some | |
| all | |
| enum | HowManyProps { none, some, all } |
| This enum is used to determine whether to return property information with returned offers. More... | |
Public Member Functions | |
| void | query (in ServiceTypeName type, in Constraint constr, in Preference pref, in PolicySeq policies, in SpecifiedProps desired_props, in unsigned long how_many, out OfferSeq offers, out OfferIterator offer_iter, out PolicyNameSeq limits_applied) raises ( IllegalServiceType, UnknownServiceType, IllegalConstraint, IllegalPreference, IllegalPolicyName, PolicyTypeMismatch, InvalidPolicyValue, IllegalPropertyName, DuplicatePropertyName, DuplicatePolicyName ) |
| This operation querys the trader for offers. | |
Classes | |
| exception | IllegalPolicyName |
| exception | IllegalPreference |
| exception | InvalidPolicyValue |
| exception | PolicyTypeMismatch |
| union | SpecifiedProps |
| This union is used in a query to determine which properties should be retrieved with returned offers. More... | |
| void CosTrading::Lookup::query | ( | in ServiceTypeName | type, | |
| in Constraint | constr, | |||
| in Preference | pref, | |||
| in PolicySeq | policies, | |||
| in SpecifiedProps | desired_props, | |||
| in unsigned long | how_many, | |||
| out OfferSeq | offers, | |||
| out OfferIterator | offer_iter, | |||
| out PolicyNameSeq | limits_applied | |||
| ) | raises ( IllegalServiceType, UnknownServiceType, IllegalConstraint, IllegalPreference, IllegalPolicyName, PolicyTypeMismatch, InvalidPolicyValue, IllegalPropertyName, DuplicatePropertyName, DuplicatePolicyName ) |
This operation querys the trader for offers.
The various call parameters determine how the trader finds offers to satisfy the query.
| type | - The servivce type of the returned offers. | |
| constr | - The constraint string used for restricting suitable offers. | |
| pref | - The preference string used to order returned offers. | |
| policies | - Policies used to override default trader query policies. | |
| desired_props | - Specifies which properties to return with offers. | |
| how_many | - The maximum number of offers to be returned. | |
| offers | - The sequence of returned offers. | |
| offer_iter | - A reference to an OfferIterator object used to access offers not directly returned in the offer sequence. | |
| limit_applied | - The limits applied by the trader while processing the query. |
![]()