PausableSubscription Class Producer Package

Copyright © 2010 Open Geospatial Consortium, Inc. 31

6.2.1.4.8 Producer Class

A Producer is an entity that publishes events and allows clients to subscribe for these events. A Producer is a Resource that manages Publications, Subscriptions and EventChannels. It implements the ResourceManager interface to provide access to these resources. It realizes the Provider interface which allows the creation of new subscriptions. Finally, it also implements the Publisher interface. A Producer is a Resource and therefore inherits all properties that a Resource has. Table 17 – Producer Properties Attribute Description Value capabilities Metadata about the producer. The type of this attribute is abstract. The OGC Capabilities document is one possible value for this property. Type : Capabilities Default: none Cardinality : [1] eventingInfo Information about the event channels exposed and events published by the service. Type : EventingInformation Default: none Cardinality : [1] publication A Producer manages Publications. Type : Publication Default: none Cardinality : [0..] subscription A Producer manages Subscriptions. Subscriptions that are terminated are automatically removed from the Producer. Type : Subscription Default: none Cardinality : [0..]

6.2.1.4.9 Publication Class

Metadata on events generated by a publisher. A P ublication is a Resource . A Publication is a Resource and therefore inherits all properties that a Resource has. 32 Copyright © 2010 Open Geospatial Consortium, Inc. Table 18 – Publication Properties Property name Description Value eventSourceMet adata Metadata about the entity that generates the published events e.g. SensorML description for a sensor. Type : Any Default: none Cardinality : [0..1] publishedEvent Definition of an event that is published as part of this Publication. Type : EventMetadata Default: none Cardinality : [1..]

6.2.1.4.10 Subscription Class

Represents the expression of interest via filters in a specific set of events that are published by a Producer. If no filter is provided, the subscriber expresses interest in all events published by the Producer. A subscription may define the endpoint of a consumer to which matching events shall be delivered andor may define a channel to which all events matching the subscriptions filter criteria shall be delivered. This is useful for other subscribers that are interested in the same set of events. At least one delivery target shall be provided. A Subscription is a ResourceWithLifetime and therefore inherits all properties that a ResourceWithLifetime has.