Create CCL URIs for streams you want to retrieve data from.
Create the CCL URI:
String cclUri = CclUriFactory.newCclStreamUri( serverUrl, C8_JAVA_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.