|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.apama.services.event.EventServiceFactory
public class EventServiceFactory
EventServiceFactory is a class that provides a factory for creating new instances of classes that implement the IEventService interface.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |