Skip to content

Notification

WS-BaseNotification service implementation.

Notification

Bases: ONVIFService

0.0.1 1.0

WS-BaseNotification NotificationProducer service client.

This service provides access to the NotificationProducer interface used by ONVIF devices for push-based event notification subscriptions.

Property Details
See ONVIF Core Spec, OASIS WS-BaseNotification Spec
Binding name NotificationProducerBinding (ver10/events/wsdl/event-vs.wsdl)
Spec Notification

Subscribe

Subscribe(
    ConsumerReference=None,
    Filter=None,
    InitialTerminationTime=None,
    SubscriptionPolicy=None,
)

Create a subscription for receiving event notifications.

Registers a notification consumer with the NotificationProducer. Event notifications matching the optional filter are delivered to the consumer endpoint specified by ConsumerReference.

Input
  • ConsumerReference [EndpointReferenceType]
    • Address [AttributedURIType]
    • ReferenceParameters - optional; [ReferenceParametersType]
    • Metadata - optional; [MetadataType]
  • Filter - optional; [FilterType]
  • InitialTerminationTime - optional; [AbsoluteOrRelativeTimeType]
  • SubscriptionPolicy - optional; [complexType]
Output
  • SubscriptionReference [EndpointReferenceType]
    • Address [AttributedURIType]
    • ReferenceParameters - optional; [ReferenceParametersType]
    • Metadata - optional; [MetadataType]
  • CurrentTime - optional; [dateTime]
  • TerminationTime - optional; [dateTime]

GetCurrentMessage

GetCurrentMessage(Topic)

Retrieve the current message for a notification topic.

Requests the current state message associated with the specified topic from the NotificationProducer.

Input
  • Topic [TopicExpressionType]
    • Dialect - required; [anyURI]