function CSEvent(type, scope, appId, extensionId)
{
    this.type = type;
    this.scope = scope;
    this.appId = appId;
    this.extensionId = extensionId;
}
@class CSEvent
A standard JavaScript event, the base class for CEP events.

@param type        The name of the event type.
@param scope       The scope of event, can be "GLOBAL" or "APPLICATION".
@param appId       The unique identifier of the application that generated the event.
@param extensionId     The unique identifier of the extension that generated the event.

@return A new \c CSEvent object