|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BlackboardActions
The interface definfes the agent Actions that must be handled by a blackboard
| Method Summary | |
|---|---|
java.lang.String |
connect(java.lang.String proposedName)
The connect message should be the first message sent once the agent connects to the Blackboard. |
java.lang.String |
deleteMob(java.lang.String agentName,
java.lang.String mobName)
Delete a frame from the blackboard. |
java.lang.String |
disconnect(java.lang.String agentName)
Disconnect the agent from the Blackboard |
TypeManager |
getTypeManager()
Get the blackboard's type manager |
java.util.List |
mobSearch(java.lang.String agentName,
java.lang.String query)
Finds all frame meeting the criteria. |
Mob |
readMob(java.lang.String agentName,
java.lang.String mobName)
Retrieve a mob by its name. |
java.lang.String |
register(java.lang.String agentName,
java.lang.String mobType)
Register the agent for notification of blackboard events involving a particular mobType. |
java.lang.String |
replaceMob(java.lang.String agentName,
Mob mob)
replace a mob on the blackboard. |
java.lang.String |
unregister(java.lang.String agentName,
java.lang.String mobType)
Forget that we were interested in this frame type. |
java.lang.String |
writeMob(java.lang.String agentName,
Mob mob)
Makes a frame on the blackboard. |
| Method Detail |
|---|
TypeManager getTypeManager()
java.lang.String connect(java.lang.String proposedName)
proposedName - The agent name proposed by the agent.
java.lang.String disconnect(java.lang.String agentName)
agentName - the name of the agent that is disconnecting
java.lang.String register(java.lang.String agentName,
java.lang.String mobType)
agentName - the agent that wants to registermobType - The mob type we are interested in listening to.
java.lang.String unregister(java.lang.String agentName,
java.lang.String mobType)
mobType -
Mob readMob(java.lang.String agentName,
java.lang.String mobName)
agentName - the agent requesting the mobmobName - the name of the desired mob
java.lang.String writeMob(java.lang.String agentName,
Mob mob)
agentName - the name of the agent that sent the mobmob - the mob to write to the blackboard
java.lang.String deleteMob(java.lang.String agentName,
java.lang.String mobName)
agentName - the name of the agent that wants the mob deletedmobName - the name of the mob to delete
java.lang.String replaceMob(java.lang.String agentName,
Mob mob)
agentName - the name of the agent that wants the mob replacedmob - the new value for the mob
java.util.List mobSearch(java.lang.String agentName,
java.lang.String query)
query -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||