The dispatcher uses configuration information to spawn separate threads and dispatcher command sets. If all Acknowledgment messages have been received, exit the dispatcher. The command server functions as a gateway for various events, deciding which event goes to which agent. When the command server decides an event goes to a particular agent, it builds an event structure and passes it to the agent function. Each agent must be able to interpret the contents of an event to correctly act upon the information contained in the event.
Agents sit on the command server side and wait for events.
The command server waits for events. When an event arrives, the command server invokes the agent to which the event has been sent. If there is a valid Acknowledgment reference, the command server sends an Acknowledgment message. When the event has completed, the command server repeats step 3 to wait for more events. This section describes the steps you must follow to configure and invoke the agents distributed with Search Server and AgentXpert.