Open Server gateway application

The gateway application uses Open Server Server-Library/C routines so that it can accept a login from Replication Server and process Replication Server requests. It forwards the requests to the foreign data server with the replicated data and returns the status of the request to Replication Server through Server-Library routines.

NoteThis book describes the requirements of an Open Server gateway to a data server, but it does not discuss Open Server programming. Refer to the Open Server Server-Library/C Reference Manual for information about programming with Open Server.

When you design a gateway for a data server, you must decide how the function strings will be written and how the gateway will process them. For example, if you use language function strings, the gateway will need a parser, and you will have to define the syntax of the function strings so that the gateway can parse them.

If you create RPC function strings, you can use Open Server registered procedures to process them. This is easier than creating a parser.

The gateway application must:

You must define the Open Server gateway in the interfaces file for the Replication Server.

Use the create connection command to create a connection to the gateway from the Replication Server managing the database.