Interface PositionReceiver

All Superinterfaces:
OsidReceiver

public interface PositionReceiver extends OsidReceiver

The position receiver is the consumer supplied interface for receiving notifications pertaining to new or deleted positions.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedPositions(Id notificationId, IdList positionIds)
    The callback for notifications of updated positions.
    void
    deletedPositions(Id notificationId, IdList positionIds)
    the callback for notification of deleted positions.
    void
    newPositions(Id notificationId, IdList positionIds)
    The callback for notifications of new positions.

    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

    • newPositions

      void newPositions(Id notificationId, IdList positionIds)
      The callback for notifications of new positions.
      Parameters:
      notificationId - the notification Id
      positionIds - the Ids of the new positions
      Compliance:
      mandatory - This method must be implemented.
    • changedPositions

      void changedPositions(Id notificationId, IdList positionIds)
      The callback for notifications of updated positions.
      Parameters:
      notificationId - the notification Id
      positionIds - the Ids of the updated positions
      Compliance:
      mandatory - This method must be implemented.
    • deletedPositions

      void deletedPositions(Id notificationId, IdList positionIds)
      the callback for notification of deleted positions.
      Parameters:
      notificationId - the notification Id
      positionIds - the Ids of the deleted positions
      Compliance:
      mandatory - This method must be implemented.