Creating a Sample Input Adapter

An overview of connecting a simple adapter for writing to Sybase CEP Server.

To create and run our demo, we use example_input_adapter.c: This file is a very basic input adapter that attaches to a stream, writes data to the stream, and then detaches from the stream.

This example may be used as a skeleton for other out-of-process adapters. This file is in:

server/sdk/c/examples

For example, on Microsoft Windows, the directory is typically

C:\Program Files\SybaseC8\Server\sdk\c\examples

On UNIX-like operating systems, the directory is typically

/home/<username>/sybasec8/server/sdk/c/examples