Connecting Apama Applications to External Components > Developing Custom 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-2015 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.