Application Class

Represents an application on a CEP server. Applications serve as containers for further CEP metadata objects.

Inheritance Hierarchy

System.Object
  Microsoft.ComplexEventProcessing.CepObject
    Microsoft.ComplexEventProcessing.Application

Namespace:  Microsoft.ComplexEventProcessing
Assembly:  Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)

Syntax

public sealed class Application : CepObject

The Application type exposes the following members.

Properties

  Name Description
Public property EventTypes Gets the collection of event types defined in the application.
Public property InputAdapters Gets the collection of input adapters defined in the application.
Public property Name Gets the name of this object. (Inherited from CepObject.)
Public property OutputAdapters Gets the collection of output adapters defined in the application.
Public property Queries Gets the collection of queries that are defined in this application.
Public property QueryTemplates Gets the collection of query templates that are defined in this application.
Public property Server Gets a reference to the server in which the application resides.
Public property ShortName Gets the short name of the CEP object. (Inherited from CepObject.)

Top

Methods

  Name Description
Public method CreateInputAdapter<TInputAdapterFactory> Creates a CEP input adapter object based on an adapter factory class.
Public method CreateOutputAdapter<TOutputAdapterFactory> Creates a CEP output adapter object based on an adapter factory class.
Public method CreateQuery(String, String, QueryBinder) Creates a query from a query binder.
Public method CreateQuery(String, String, QueryBinder, Boolean) Creates a query from a query binder and specifies whether the query is resilient.
Public method CreateQueryTemplate(XmlReader) Creates a new query template from its XML representation.v
Public method CreateQueryTemplate<T>(String, String, CepStream<T>) Creates a new query template from a LINQ expression.
Public method Delete Deletes the application object from metadata. (Overrides CepObject.Delete().)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetPublishedStreamInputAdapter Gets the built-in published stream input adapter that can be used for dynamic query composition.
Public method GetPublishedStreamOutputAdapter Gets the built-in published stream output adapter that can be used for dynamic query composition.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Protected field _name Name of the CepObject, which is a full Uri path. (Inherited from CepObject.)
Protected field _shortName Short name of the CepObject, without the full Uri path. (Inherited from CepObject.)

Top

Remarks

StreamInsight applications contain structures that define the events, adapters, and queries used in the application. For more information, see StreamInsight End-to-End Example.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.ComplexEventProcessing Namespace