EventServiceFactory is a class that provides a factory for creating new instances of classes that implement the IEventService interface.
More...
EventServiceFactory is a class that provides a factory for creating new instances of classes that implement the IEventService interface.
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
-
socketHostName | Name of the host where the Correlator is running. |
socketPort | Port 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
-
socketHostName | Name of the host where the Correlator is running. |
socketPort | Port number on which the Correlator is listening. |
processName | A 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
-
messagingClient | The IMessagingClient to be used by the new EventService. |
- Returns
- The new IEventService instance.