Object <- FixedList <- ObjectList <- DenseObjectList <- InternetProviderList |
|
|
CollectInternetServiceChoices FindMatchingProvider |
Class InternetProviderList defines no new attributes.
Fields
No fields are defined by InternetProviderList or any of its superclasses.
Instance template
instance InternetProviderList tag; end instance;
Define Class InternetProviderList; inherits from DenseObjectList; operation CollectInternetServiceChoices(serviceTypes: IntegerList; inquiringService: Object; choiceList: ObjectList): Unsigned; // on behalf of the inquiringService, query all providers for services // matching the requested service types (see Internet.h). For each match, an // InternetServiceChoice entry is added to the choiceList. If serviceTypes is // nilObject, one entry is added for each provider, but the internetServiceInfo // fields are left empty (since no particular service type was requested). Returns // the total # of choices added in this call. Can pass in 'nilObject' for // the choiceList if only want to get a count. // (See Internet.h for common serviceTypes) operation FindMatchingProvider(providerName: HasText): InternetProvider; // return the provider that matches this name. Identical match is looked // for first. If that doesn't find a match, look for a provider that // contains a similar name. end class;