The Components of an In-process Adapter

A description of the components of an in-process adapter, including the library and ADL files.

This in-process adapter must be linked with Sybase CEP Server and with SDK libraries. Linking is done dynamically at run time.

A complete in-process adapter includes not only a library file that can be linked to the server, but also an associated ADL file; this ADL file specifies the adapter's library file name, the names of the functions in that file, and the adapter properties that may be used with that adapter. Write an ADL file for each in-process adapter and place it in both the Sybase CEP Studio plugins directory and the Sybase CEP Server plugins directory. This is necessary because the Sybase CEP Studio and Sybase CEP Server may execute on different machines across a network.

In addition, place a library containing your in-process adapter code into the bin folder of the server. When the Sybase CEP Server determines that your adapter must be loaded, the Sybase CEP Server code will load your ADL, find the name of the library and entry points in the library, load the library, and begin executing your code.