public class EventServiceFactory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static IEventService |
createEventService()
Create a new instance of the EventService with default parameters.
|
static IEventService |
createEventService(EngineClientInterface engineClient)
Create a new EventService instance using
the supplied EngineClient to connect to a Correlator.
|
static IEventService |
createEventService(java.lang.String socket_hostname,
int socket_port)
Create a new EventService instance with
an EngineClient connected to a Correlator on the given host and port.
|
static IEventService |
createEventService(java.lang.String socket_hostname,
int socket_port,
java.lang.String processName)
Create a new EventService instance with
an EngineClient connected to a Correlator on the given host and port, with a specified process name.
|
public static IEventService createEventService()
public static IEventService createEventService(java.lang.String socket_hostname, int socket_port)
socket_hostname
- Name of the host where the Correlator is running.socket_port
- Port number on which the Correlator is listening.public static IEventService createEventService(java.lang.String socket_hostname, int socket_port, java.lang.String processName)
socket_hostname
- Name of the host where the Correlator is running.socket_port
- 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)public static IEventService createEventService(EngineClientInterface engineClient)
It is the caller's responsibility to destroy() the specified messagingClient, after calling destroy() on this EventService.
engineClient
- the EngineClient to be used by the new EventService.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.