Difference between revisions of "Message-In-Stack Action"

From AgentCubes
Jump to navigation Jump to search
imported>Mike
imported>Mike
Line 4: Line 4:
 
|-
 
|-
 
| width="80" valign="top" align="left" | '''Definition:'''  
 
| width="80" valign="top" align="left" | '''Definition:'''  
| width="100%" valign="top" align="left" | The '''delayed-message''' action will trigger a message in this agent after a specified amount of time. Note that it is not possible to send delayed messages to other agents.&nbsp; <br>
+
| width="100%" valign="top" align="left" | The '''message in stack''' action will trigger a message in other agents in this agent's stack.&nbsp; Note that this agent will not receive the message from '''message in stack'''.<br>
 
|-
 
|-
 
| width="80" valign="top" align="left" | '''Parameters:'''  
 
| width="80" valign="top" align="left" | '''Parameters:'''  

Revision as of 22:45, 4 April 2012

150px

Definition: The message in stack action will trigger a message in other agents in this agent's stack.  Note that this agent will not receive the message from message in stack.
Parameters: method, agents_in_stack: The method parameter specifies which method needs to be called.  The agents_in_stack parameter specifies which other agents in this agent's stack should receive the spcified message.