This section provides a code example for creating a CCL URI.
To create the CCL URI of the stream you will be getting data from (subscribing to):
string cclUri = CclUriFactory.NewCclStreamUri( serverUrl, C8_NET_SDK_EXAMPLES_WORKSPACE, "SensorNetwork", "SensorReadings");
The parameters passed to this method include the URL of the Sybase CEP Server process, the name of the workspace containing the module, the name of the module containing the stream, and the name of the stream. In your application, this stream information might be hard-coded, read from an external configuration file, or be from a stream belonging to a query created internally to your application. The example does the latter, calling PrepareExampleQuery to create a simple stream containing generated random data.