unsw.cse.mica.blackboard
Interface BlackboardMessageSender

All Known Subinterfaces:
BlackboardTransport
All Known Implementing Classes:
CompoundBlackboardTransport, DefaultBlackboard, LocalBBTransport, QueuedMessageSender, SecureXMLOverSSLBlackboardTransport, SecureXMLOverTCPBlackboardTransport, SimpleBlackboard, SQLBlackboard, XMLOverSSLBlackboardTransport, XMLOverTCPBlackboardTransport

public interface BlackboardMessageSender

An interface for objects (such as blackboard transports) that can send a message to an agent.

Author:
waleed

Method Summary
 void sendDeletedMob(java.lang.String agentName, Mob mob)
          send a deletedMob message to the given agent
 void sendNewMob(java.lang.String agentName, Mob mob)
          send a newMob message to the given agent
 void sendReplacedMob(java.lang.String agentName, Mob oldMob, Mob newMob)
          send a replacedMob message to the given agent
 void sendTypeManagerChanged(java.lang.String agentName)
          send a typeManagerChanged message to the given agent
 

Method Detail

sendNewMob

void sendNewMob(java.lang.String agentName,
                Mob mob)
send a newMob message to the given agent

Parameters:
agentName - the name of the agent for which the message is intended
mob - the mob that has been written to the blackboard

sendDeletedMob

void sendDeletedMob(java.lang.String agentName,
                    Mob mob)
send a deletedMob message to the given agent

Parameters:
agentName - the name of the agent for which the message is intended
mob - the mob that has been deleted from the blackboard

sendReplacedMob

void sendReplacedMob(java.lang.String agentName,
                     Mob oldMob,
                     Mob newMob)
send a replacedMob message to the given agent

Parameters:
agentName - the name of the agent for which the message is intended
oldMob - the old value of the mob
newMob - the new value of the mob

sendTypeManagerChanged

void sendTypeManagerChanged(java.lang.String agentName)
send a typeManagerChanged message to the given agent

Parameters:
agentName - the name of the agent for which the message is intended