mam.messaging
Interface MessageReceiver

All Known Implementing Classes:
Agent, FacilityServiceManager, MessageQueue, MessageReceiverAdapter

public interface MessageReceiver

Should specify the minimum required to talk to the messaging system.


Method Summary
 voidenqueueMessage(AgentMessage incomingMessage)
           
 MamIdgetMamId()
          A receiver must have a unique ID in the system so that it's messages can be identified.
 booleanrequiresPersistence()
           

Method Detail

enqueueMessage

public void enqueueMessage(AgentMessage incomingMessage)

getMamId

public MamId getMamId()
A receiver must have a unique ID in the system so that it's messages can be identified. Can be created at instantiation or upon registering with a local NodeManagementSystem.

requiresPersistence

public boolean requiresPersistence()