This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

%Service.Advertisement

abstract class %Service.Advertisement

A description of a service provided by a server It is presented with a name and type, as well as key/value pairs Advertisements with the same name are assumed to be advertising the same service.

Method Inventory (Including Private)

Methods

abstract method GetName() as %String
Returns the descriptive name of the service being advertised This name should be appropriate to display to a user in a selection menu It also must be unique amongst advertisements being advertised by the same %Service.Advertiser
abstract method NextKey(key As %String = "") as %String
Given "", returns the first key present in. Given a key, returns the next key present. Returns "" if there are no further keys.
abstract method ValueOf(key As %String, default As %String = "") as %String
Given a key, returns the value present, or default if not found.

Subclasses

Feedback