Developing Apama Applications > Developing Clients > The EventService API > The EventServiceFactory class
The EventServiceFactory class
The EventServiceFactory class provides the following methods for creating instances of classes that implement the IEventService interface:
*static IEventService createEventService()
Create a new instance of the EventService with default parameters.
*static IEventService createEventService() — defined as:

static IEventService createEventService(
EngineClientInterface engineClient)
Create a new EventService instance using the supplied EngineClient to connect to a correlator.
*static IEventService createEventService() — defined as:

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.
Copyright © 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.