When working with the API, there are situations where timing and synchronization can become an issue between your script and the Reflection terminal session applet. For example:
You want to automate a host logon procedure by transmitting a user name and password after the appropriate host prompts have been received. In this case, you need to wait for the appropriate host prompts before transmitting the responses.