Open Server Server-Library is a collection of routines that allows you to create custom server applications. Server-Library routines are documented in the Open Server Server-Library/C Reference Manual.
The following examples illustrate the tasks that an Open Server client application might carry out:
Client for custom Open Server application – a client application sends RPC commands to invoke custom server routines that have been “registered” as callable server procedures in the Open Server application program. See the Open Server Server-Library/C Reference Manual for information on registered procedures. See “RPC commands” for a description of how client applications send RPC commands.
Notification client – Open Server provides a feature called “registered procedure notification” that allows client applications to watch for invocations of selected registered procedures. For example, a client application that caches copies of important data might watch for a notification on a registered procedure that updates the data. The notification indicates when the cached copy must be refreshed. See the “Registered Procedures” topics page in the Open Client Client-Library/C Reference Manual.
Gateway application – a server application acts as an intermediary between its own clients and other servers. The gateway accepts client commands, forwards them to a remote server, reads the results, and forwards the results to its own client. If the remote server is a Sybase server, the gateway makes Client-Library calls to communicate with the remote server.