edu.memphis.ccrg.lida.globalworkspace
Interface BroadcastListener

All Superinterfaces:
ModuleListener
All Known Subinterfaces:
ActionSelection
All Known Implementing Classes:
AttentionCodeletModule, BasicActionSelection, BroadcastQueueImpl, EpisodicMemoryImpl, GlobalWorkspaceTablePanel, PerceptualAssociativeMemoryImpl, ProceduralMemoryImpl, WorkspaceImpl

public interface BroadcastListener
extends ModuleListener

Modules that need to receive Broadcast must implement this interface. It will receive each BroadcastContent that will be sent by the GlobalWrokspace.

Author:
Javier Snaider

Method Summary
 void learn(BroadcastContent bc)
          This is a placeholder method to remind implementing classes that they should implement learning.
 void receiveBroadcast(BroadcastContent bc)
          This method should return as possible in order to not delay the rest of the broadcasting.
 

Method Detail

receiveBroadcast

void receiveBroadcast(BroadcastContent bc)
This method should return as possible in order to not delay the rest of the broadcasting. A good implementation should copy the broadcast content and create a task to process it.

Parameters:
bc - the Content of the Broadcast

learn

void learn(BroadcastContent bc)
This is a placeholder method to remind implementing classes that they should implement learning. LIDA theory says receivers of the broadcast should learn from it. This method will not be called directly by GlobalWorkspace but should be managed by the receiving module.

Parameters:
bc - content