This section describes the three parts of the Perl API: the tuple, publisher, and subscriber APIs.
The Perl API consists of three parts:
A tuple API for manipulating Sybase CEP messages (C8::Tuple module).
A publisher API for sending data to Sybase CEP Server (C8::Publisher module).
A subscriber API for receiving data from Sybase CEP Server (C8::Subscriber module).
With this combination, you can write input or output adapters. For example, in an input adapter you would read data from the data source, transform it into an appropriate format, and then use the publisher API in C8::Publisher to send the data to the server. Similarly, in an output adapter you would use the C8::Subscriber module to read data from the server, then transform the data into the external data format and write the data to its destination.
The complete Sybase CEP Perl SDK, including example source code, is available in the sdk/perl subfolder of your Sybase CEP Server installation.