Server Class

 

Represents a CEP server.

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

Inheritance Hierarchy

System.Object
  Microsoft.ComplexEventProcessing.Server

Syntax

public sealed class Server : IDisposable
public ref class Server sealed : IDisposable
[<Sealed>]
type Server = 
    class
        interface IDisposable
    end
Public NotInheritable Class Server
    Implements IDisposable

Properties

Name Description
System_CAPS_pubproperty Applications

Gets the collection of applications that are registered in the server.

System_CAPS_pubproperty IsEmbedded

Gets a flag indicating whether the server is running in process or is a remote server.

Methods

Name Description
System_CAPS_pubmethod BeginCheckpoint(Query, AsyncCallback, Object)

Initiates an asynchronous checkpoint for the query.

System_CAPS_pubmethod CancelCheckpoint(IAsyncResult)

Cancels a pending asynchronous checkpoint.

System_CAPS_pubmethod ClearDiagnosticSettings(Uri)

Clears the diagnostic settings for the named object.

System_CAPS_pubmethodSystem_CAPS_static Connect(EndpointAddress)

Prepares a connection to a running instance of a CEP server through an endpoint. WsHttpBinding is used as the default binding.

System_CAPS_pubmethodSystem_CAPS_static Connect(EndpointAddress, Binding)

Prepares a connection to a running instance of a CEP server through an endpoint with a specific binding.

System_CAPS_pubmethodSystem_CAPS_static Connect(EndpointAddress, Binding, Uri)

Prepares a connection to a running instance of a CEP server through an endpoint with a specific binding.

System_CAPS_pubmethodSystem_CAPS_static Create(String)

Creates an instance of the CEP server, backed by an in-memory metadata store.

System_CAPS_pubmethodSystem_CAPS_static Create(String, SqlCeMetadataProviderConfiguration)

Creates a CEP server using the SQL Server Compact metadata provider.

System_CAPS_pubmethodSystem_CAPS_static Create(String, SqlCeMetadataProviderConfiguration, CheckpointConfiguration)

Creates a CEP server using the SQL Server Compact metadata provider and specifies a checkpoint configuration.

System_CAPS_pubmethod CreateApplication(String)

Creates an application in the CEP server.

System_CAPS_pubmethod CreateManagementService()

Returns a management service implementation for the current server.

System_CAPS_pubmethod Dispose()

Releases all resources referenced by this server.

System_CAPS_pubmethod EndCheckpoint(IAsyncResult)

Waits for the pending asynchronous checkpoint request to complete.

System_CAPS_pubmethod Enumerate(Uri)

Enumerates a collection of metadata objects in the server.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetDiagnosticSettings(Uri)

Gets the diagnostic settings for the named object.

System_CAPS_pubmethod GetDiagnosticView(Uri)

Gets the diagnostic view for the named object.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod SetDiagnosticSettings(Uri, DiagnosticSettings)

Sets the diagnostic settings for the named object.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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 in order 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

Microsoft.ComplexEventProcessing Namespace

Return to top