Session Services APIs
The session services APIs provide a general scrolling I/O interface. They can be used to build a standard input-line scrolling interface or an interface that has an output-only scroll area (called a scroller) in a window. Sessions are special cases of windows as supported by the window services. A session is defined using a session, a window, and a low-level environment description. The window and low-level environment descriptions are the same as those used to define a window directly with the window services APIs. The session description defines the structure of the session. The structure includes the coordinates of the scrolling portion, the length of the input line, the amount to roll by, and so on. A session is implemented as a window, where the window user data pointer describes the session itself. Thus, a session can be manipulated through the window and low-level interfaces by passing the session handler or through the session interfaces. This implementation is similar to the concept of inheritance in object-oriented programming languages.
Sessions are similar in concept to subfiles and can be used for any application that requires a scrolling line interface. The session services APIs are divided into the following functional groups:
- Session Manipulation and Query APIs allow you
to create, query, and manipulate sessions.
- Session I/O APIs allow you to perform input and output operations to sessions.
For additional information, select one of the following topics:
- Session Details
- Line Mode and Character Mode I/O
- Command Key Action Routines
- Action Routine Parameters
- Active Position
- EBCDIC Display Control Characters
- DBCS Considerations
[ Back to top | Dynamic Screen Manager APIs | APIs by category ]