Interface RouteReceiver

All Superinterfaces:
OsidReceiver

public interface RouteReceiver extends OsidReceiver

The route receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deleted Route objects.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedRoutes(Id notificationId, Id routeIds)
    The callback for notification of updated routes.
    void
    deletedRoutes(Id notificationId, Id routeIds)
    The callback for notification of deleted routes.
    void
    newRoutes(Id notificationId, Id routeIds)
    The callback for notifications of new routes.

    Methods inherited from interface OsidReceiver

    down, up
    Modifier and Type
    Method
    Description
    void
    The callback for notifications that the notification bus is not operating.
    void
    up()
    The callback for notifications that the notification bus is operational.
  • Method Details

    • newRoutes

      void newRoutes(Id notificationId, Id routeIds)
      The callback for notifications of new routes.
      Parameters:
      notificationId - the notification Id
      routeIds - the Ids of the new Routes
      Compliance:
      mandatory - This method must be implemented.
    • changedRoutes

      void changedRoutes(Id notificationId, Id routeIds)
      The callback for notification of updated routes.
      Parameters:
      notificationId - the notification Id
      routeIds - the Ids of the updated Routes
      Compliance:
      mandatory - This method must be implemented.
    • deletedRoutes

      void deletedRoutes(Id notificationId, Id routeIds)
      The callback for notification of deleted routes.
      Parameters:
      notificationId - the notification Id
      routeIds - the Ids of the deleted Routes
      Compliance:
      mandatory - This method must be implemented.