The function parameter can be any function that takes one parameter, a CoordinateEvent object. Initiated By an Event Initiating an FSM by an event is remarkably similar to initiating one by a message. This did not use to work before. It does now. Whats up with CoordinateEvent CoordinateEvent has two fields, type and data.
Type is simply the label of the event.
It is what gets matched with the event labels you specify in your FSM scripts. Data can be an ugly beast. It is a Vector of Objects. It is used to store any data you want transferred. It wants to send along three pieces of data about that event to the Coordination bean, the Interrelationship, the agent on the other end of the relationship, and the subjective view.