public interface IAgentController
Modifier and Type | Method and Description |
---|---|
IAgentController |
getParent()
get parent control
|
void |
receiveMessage(AgentCommand message,
IAgentController sender)
receive message from other agents
a) Message from parent:
1.
|
void |
setParent(IAgentController parent)
set parent control
|
IAgentController getParent()
void setParent(IAgentController parent)
parent
- to setvoid receiveMessage(AgentCommand message, IAgentController sender)
message
- queue the send to agentssender
- send which send message