Third AMI Phase: Calling the Methods

After the application has been discovered and the methods have been described, the real work takes place. Acting either on cues from a human user or by processing the rules in a rulebase, the manager sends messages to the application invoking the described methods and awaits its reply. The method invocation messages sent by the manager conform to descriptions given by the application in the describe method as to which arguments are appropriate for each method.

The application sends back a message whose contents conform to the structure the application described to the manager in the describe method.

When the manager receives the response to its method call, it presents the returned information to the human user. This scenario repeats itself over and over again until the session is terminated by either the application or the manager.

Figure 104: AMI Method Invocation