Apama API Reference for .NET  9.10.0.4
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Apama.Services.Event.EventServiceFactory Class Reference

EventServiceFactory is a class that provides a factory for creating new instances of classes that implement the IEventService interface. More...

Static Public Member Functions

static IEventService CreateEventService ()
 Create a new instance of the EventService with default parameters. More...
 
static IEventService CreateEventService (string socketHostName, int socketPort)
 Create a new EventService instance with an IMessagingClient connected to a Correlator on the given host and port. More...
 
static IEventService CreateEventService (string socketHostName, int socketPort, string processName)
 Create a new EventService instance with an IMessagingClient connected to a Correlator on the given host and port. More...
 
static IEventService CreateEventService (IMessagingClient messagingClient)
 Create a new EventService instance using the supplied IMessagingClient to connect to a Correlator. More...
 

Detailed Description

EventServiceFactory is a class that provides a factory for creating new instances of classes that implement the IEventService interface.

Member Function Documentation

static IEventService Apama.Services.Event.EventServiceFactory.CreateEventService ( )
static

Create a new instance of the EventService with default parameters.

Returns
The new IEventService instance.
static IEventService Apama.Services.Event.EventServiceFactory.CreateEventService ( string  socketHostName,
int  socketPort 
)
static

Create a new EventService instance with an IMessagingClient connected to a Correlator on the given host and port.

Parameters
socketHostNameName of the host where the Correlator is running.
socketPortPort number on which the Correlator is listening.
Returns
The new IEventService instance.
static IEventService Apama.Services.Event.EventServiceFactory.CreateEventService ( string  socketHostName,
int  socketPort,
string  processName 
)
static

Create a new EventService instance with an IMessagingClient connected to a Correlator on the given host and port.

Parameters
socketHostNameName of the host where the Correlator is running.
socketPortPort number on which the Correlator is listening.
processNameA display name to identify which application is responsible for this connection to the Correlator (this name is included in log files for diagnostic purposes)
Returns
The new IEventService instance.
static IEventService Apama.Services.Event.EventServiceFactory.CreateEventService ( IMessagingClient  messagingClient)
static

Create a new EventService instance using the supplied IMessagingClient to connect to a Correlator.

It is the caller's responsibility to Dispose the specified messagingClient, after calling Dispose on this EventService.

Parameters
messagingClientThe IMessagingClient to be used by the new EventService.
Returns
The new IEventService instance.
Submit a bug or feature
Copyright (c) 2013-2016 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.