Connection Events Test Options
The Connection Events Test dialog box tests sequences of events that require a reset of the terminal session: loading a model, connecting to the host, and establishing a client connection. The startup and shutdown sequences below illustrate the differences between each of the test options.
Dedicated Session: New Client
This option simulates the sequence of one client application disconnecting and another client connecting to this model using the Connect
To Model method:
- The Client Disconnected event is fired.
- The terminal session navigates to the home entity, which could involve Execute Operation events.
- The logout process is executed, which could involve firing the Execute Logout event.
- The host session is disconnected from the host.
- Steps 1-7 of standard reset processing are executed.
- The host session is connected to the host.
- The login process is executed, which could involve firing the Execute Login event.
- The terminal session navigates to the home entity, which could involve Execute Operation events.
- The Client Connected event is fired.
Steps 1-4 can also be accessed by pressing the logout button, while steps 5-9 can be accessed by pressing the login button on the same toolbar.
Pooled Session: New Session
The New Session option simulates destroying and creating a pooled session, then connecting to the session using ConnectToSession method.
With this option, a session pool host session is created, connected to the host, and logged in before a client session is actually created. This simulates the real-world behavior of a session pool session.
- The Client Disconnected
event is fired.
- The terminal session navigates to the home entity, which could involve
Execute Operation events.
- The logout process is executed, which could involve firing the Execute
Logout event.
- The host session is disconnected from the host.
- The Client
Session Destroyed event is fired.
- The Host
Session Destroyed event is fired.
- A Host Session
Created event fires.
- The login process is executed, which could involve firing the Execute
Login event.
- The terminal session navigates to the home entity, which could involve
Execute Operation
events.
- The Client Connected
event is fired.
- The Authenticate
User event is fired, with any resulting errors displayed in the Event
Handler Console.
- The Client
Session Created event is fired.
Pooled Session: New Client
This option simulates the sequence of one client application disconnecting
and another client reconnecting to this model using the ConnectToSession
method.
In this case, only the client session events are fired because a session pool
host session is not normally logged out or destroyed between client invocations.
- The Client Disconnected
event is fired.
- The terminal session is navigated home, which could involve Execute
Operation events.
- The Client
Session Destroyed event is fired
- An Authenticate
User event is fired.
- The Client
Session Created event is fired.
- The Client Connected
event is fired.