| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (10 out of 13)

Rerouting a Telewindow

A g2-window item has attributes that support switching or rerouting a telewindow, as described in Rerouting Telewindows Connections.

A G2 process reroutes a telewindow by passing its connection to another G2. A G2 reroutes a telewindow by executing the g2-reroute-window system procedure. For more information, see the description of G2-reroute-window in the G2 System Procedures Reference Manual.


Tip: The KB file twtour.kb, a sample KB shipped with your G2 product, demonstrates the features that a G2 application should support when rerouting a telewindow. See the Telewindows User's Guide for information about twtour.kb.

Setting up Access to Telewindows

The g2-window-initial-window-configuration-string attribute contains a text value that the KB, running in a G2 that receives a reroutable Telewindows connection, uses to set up access for the user to that KB. This attribute is only used by the G2-reroute-window system procedure.

For instance, in a G2 application designed to support access by users via reroutable telewindows, the KB running on one G2 can hand off a user's processing to another KB running on another G2. The initiating KB can log the user (via Telewindows) into another G2 and pass to its KB a g2-window-initial-window-configuration-string value that represents the state of that user's activity within the application.

For more information, see the description of the G2-reroute-window system procedure in the G2 System Procedures Reference Manual.

Reporting Errors

The g2-window-reroute-problem-report attribute is a read-only attribute that presents to a G2 an error message that returns from an unsuccessful rerouting of a telewindow to another G2. This capability of G2 is described under Rerouting Telewindows Connections.

| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (10 out of 13)

Copyright © 1997 Gensym Corporation, Inc.