Server Class

Represents a CEP server.

Inheritance Hierarchy

System.Object
  Microsoft.ComplexEventProcessing.Server

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

Syntax

public sealed class Server : IDisposable

The Server type exposes the following members.

Properties

  Name Description
Public property Applications Gets the collection of applications that are registered in the server.
Public property IsEmbedded Gets a flag indicating whether the server is running in process or is a remote server.

Top

Methods

  Name Description
Public method BeginCheckpoint Initiates an asynchronous checkpoint for the query.
Public method CancelCheckpoint Cancels a pending asynchronous checkpoint.
Public method ClearDiagnosticSettings Clears the diagnostic settings for the named object.
Public methodStatic member Connect(EndpointAddress) Prepares a connection to a running instance of a CEP server through an endpoint. WsHttpBinding is used as the default binding.
Public methodStatic member Connect(EndpointAddress, Binding) Prepares a connection to a running instance of a CEP server through an endpoint with a specific binding.
Public methodStatic member Connect(EndpointAddress, Binding, Uri) Prepares a connection to a running instance of a CEP server through an endpoint with a specific binding.
Public methodStatic member Create(String) Creates an instance of the CEP server, backed by an in-memory metadata store.
Public methodStatic member Create(String, SqlCeMetadataProviderConfiguration) Creates a CEP server using the SQL Server Compact metadata provider.
Public methodStatic member Create(String, SqlCeMetadataProviderConfiguration, CheckpointConfiguration) Creates a CEP server using the SQL Server Compact metadata provider and specifies a checkpoint configuration.
Public method CreateApplication Creates an application in the CEP server.
Public method CreateManagementService Returns a management service implementation for the current server.
Public method Dispose Releases all resources referenced by this server.
Public method EndCheckpoint Waits for the pending asynchronous checkpoint request to complete.
Public method Enumerate Enumerates a collection of metadata objects in the server.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetDiagnosticSettings Gets the diagnostic settings for the named object.
Public method GetDiagnosticView Gets the diagnostic view for the named object.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SetDiagnosticSettings Sets the diagnostic settings for the named object.
Public method ToString (Inherited from Object.)

Top

Remarks

A CEP server is the central entity that hosts any complex event processing application. A server can either be instantiated embedded in the user process or it can represent a remote server through a connection. In either model, the interaction with the server to register and manage metadata objects is the same.

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