Whether the incoming request is an RPC or a language, cursor, or dynamic request, the server application performs five general steps:
Prepares the environment
Accepts the request and retrieves the language, cursor, or dynamic request or RPC parameters
Performs the requested action
Returns results to the requesting client
Ends the conversation
This section shows how to perform four of these tasks using Gateway-Library functions. The remaining task (the requested action) is performed using familiar programming procedures. See Chapter 3, “Functions” for detailed information about each function.
The tables in the following sections cover only the
basic function sequences. Refer to the sample programs that come
with Open ServerConnect and the examples to see how these functions
are used in context.