The ISessionController Interface
The following table lists the ISessionController methods, parameters, and descriptions. Table 18 lists the ISessionController events, event handlers, and descriptions.
The following table defines ISessionController Methods
|
Method Name |
Parameters |
Description |
|---|---|---|
|
SessionOpen |
Called whenever the session is opened. Only global applications use this method. Local applications do not need to know if their sessions are shown. | |
|
Guid sessionID |
ID of the session being opened. | |
|
Guid applicationSessionID |
ID of the initial application session. | |
|
Returns |
Bool |
Boolean indicating success or failure. |
|
SessionClose |
Called whenever the session is closed. Only global applications use this. Local applications do not need to know if their sessions are shown. | |
|
Guid sessionID |
ID of the session being closed. | |
|
Returns |
Bool |
Boolean that indicates success or failure. |
|
SessionChange |
Called whenever the session is changed. Only global applications use this. Local applications do not need to know if their sessions are shown. | |
|
Guid sessionID |
True if this session is becoming active; false if another session is becoming active. | |
|
Returns |
void | |
The following table defines ISessionController Events
|
Name |
Handler |
Description |
|---|---|---|
|
RequestSessionOpen |
Occurs when there is a request to open a session. | |
|
SessionOpenControllerEventHandler |
Open Session controller event arguments. | |
|
RequestSessionClose |
Occurs when there is a request to close a session. | |
|
SessionControllerEventHandler |
Session controller event arguments. | |
|
RequestSessionChange |
Occurs when there is a request to change a session. | |
|
SessionControllerEventHandler |
Session controller event arguments. |