Interface ResourceSignalReceiver

All Superinterfaces:
OsidReceiver

public interface ResourceSignalReceiver extends OsidReceiver

The resource route receiver is the consumer supplied interface for receiving notifications pertaining to signal crossings by resources.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    crossedSignal(Id signalId, Id resourceId)
    The callback for notifications of resources crossing signals.

    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

    • crossedSignal

      void crossedSignal(Id signalId, Id resourceId)
      The callback for notifications of resources crossing signals.
      Parameters:
      signalId - the Id of the Signal
      resourceId - the Id of the Resource
      Compliance:
      mandatory - This method must be implemented.