Skip to content
Stefan Nastic edited this page Dec 21, 2015 · 1 revision

Public GovOps events

This page describes the events which are produced by the rtGovOps framework and can be used by applications or other platform components to get real-time push notifications about the changes of the infrastructure.

Currently available topics
  • The rtGovOps delivers all the events and messages via a single topic -- govops_events. The consumers are responsible to subscribe to this topic and filter out the interesting events, e.g., via message selectors or by manually checking the type of message.
Events format
  • At the moment all the events are serialized to JSON strings.
Currently available events:
  • Event - A general event type used as base class for all GovOps events. All the events must extend it.
  • NewGatewayEvent - This event is triggered when a new gateway registers with rtGovOps. It delivers the currently available information associated with the gateway.
  • GoneGatewayNormalEvent - This event is triggered when a gateway gets disconnected form rtGovOps.
  • GoneGatewayErrorEvent - This event is triggered when a gateway gets disconnected form rtGovOps and submits an error status.
  • GoneGatewayUnresponsiveEvent - This event is triggered when a gateway is not responding to the requests.