30
Copyright © 2010 Open Geospatial Consortium, Inc.
Table 15 – Notification Properties
Property name Description
Value
message Piece of information that shall be delivered.
Note: the cardinality of this attribute is one to multiple to support batch transmission of messages. This is one
way to decrease the amount of communication channels like HTTP connections that need to be
established between a publisher and consumer. We recognize that some communication protocols can
establish persistent connections so that this kind of mechanism would not be required there. Policies could
be defined that control the maximum time interval or amount of messages that would be used to gather up
messages before sending - this would be a kind of batch transport. Different ways to perform, control and
mange notification delivery can be investigated in the future.
Type
: Any
Default: none Cardinality
: [1..]
6.2.1.4.7 PausableSubscription Class
A
PausableSubscription
is a
Subscription
that can be paused. Pausing a subscription means that events that match the subscription criteria shall not be
delivered to the assigned consumer endpoint while the subscription is paused. This does not affect the delivery of matching events to the optional channel delivery endpoint. In
other words: if an AdHocEventChannel see section 6.2.1.3.1 is associated with a subscription then all events matching the subscriptions filter criteria shall be published on
that channel, regardless of whether the subscription is paused or not.
All events that are received or generated by the producer while a subscription is active e.g. if it has been resumed and that match the filter criteria shall be published to the
existing delivery endpoints.
A PausableSubscription is a Subscription and therefore inherits all properties that a Subscription has.
Table 16 – PausableSubscription Properties
Property name Description
Value
isPaused Indicates whether the subscription is paused
or not.
Type
: Boolean
Default:
false
Cardinality
: [1]
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.