Remote Procedure Call Components

A description of the multi-step RPC procedure and the software components involved.

As compared to a CCL statement, an RPC is a simple operation. However, each RPC call involves multiple steps. The following diagram shows the components involved and how they are related:

RPC functionality requires the following software components:

These components work together as follows:

  1. The CCL Remote Procedure Statement or remote subquery invokes the RPC plugin by specifying the plugin's unique service name (as identified in the c8-services.xml file) and may also pass values to the plugin, which are then passed on to the RPC server.

  2. The uses the service name and the information defined for the service in the c8-services.xml file to determine which RPC plugin to use and which function(s) in that plugin to call. The Sybase CEP Servercan also read some plugin configuration parameters (defined in the c8-services.xml file service entry) and make these available to the plugin, which can read them by calling appropriate function(s) in the API.

  3. The RPC plugin communicates with the RPC server and invokes the remotely callable procedure. When appropriate, the plugin passes remote procedure parameter values from the CCL query to that RPC and/or receives values back from the RPC and makes them available to the CCL query.