Interface AgentReceiver

All Superinterfaces:
OsidReceiver

public interface AgentReceiver extends OsidReceiver

The agent receiver is the consumer supplied interface for receiving notifications pertaining to new, updated or deleted Agent objects. A change to a key is a change to an Agent .

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    changedAgents(Id notificationId, IdList agentIds)
    The callback for notification of updated agents.
    void
    deletedAgents(Id notificationId, IdList agentIds)
    the callback for notification of deleted agents.
    void
    newAgents(Id notificationId, IdList agentIds)
    The callback for notifications of new agents.

    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

    • newAgents

      void newAgents(Id notificationId, IdList agentIds)
      The callback for notifications of new agents.
      Parameters:
      notificationId - the notification Id
      agentIds - the Id of the new Agents
      Compliance:
      mandatory - This method must be implemented.
    • changedAgents

      void changedAgents(Id notificationId, IdList agentIds)
      The callback for notification of updated agents.
      Parameters:
      notificationId - the notification Id
      agentIds - the Id of the updated Agents
      Compliance:
      mandatory - This method must be implemented.
    • deletedAgents

      void deletedAgents(Id notificationId, IdList agentIds)
      the callback for notification of deleted agents.
      Parameters:
      notificationId - the notification Id
      agentIds - the Id of the deleted Agents
      Compliance:
      mandatory - This method must be implemented.