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 © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.