com.apama.engine.beans
Class EngineClientFactory

java.lang.Object
  extended by com.apama.engine.beans.EngineClientFactory

public class EngineClientFactory
extends java.lang.Object

EngineClientFactory is a factory for classes that implement Apama messaging or correlator management interfaces.


Method Summary
static EngineClientInterface createEngineClient()
          Create a new EngineClientInterface instance that enables a client process to connect to an engine to send/receive events or perform management operations such as inject and delete.
static EngineClientInterface createEngineClient(java.lang.String host, int port, java.lang.String processName)
          Create a new EngineClientInterface instance that enables a client process to connect to an engine to send/receive events or perform management operations such as inject and delete.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createEngineClient

public static EngineClientInterface createEngineClient()
                                                throws com.apama.util.CompoundException
Create a new EngineClientInterface instance that enables a client process to connect to an engine to send/receive events or perform management operations such as inject and delete. The engine client will initially use the local host and default port, unless these are changed before connection.

Returns:
A new EngineClientInterface instance
Throws:
com.apama.util.CompoundException

createEngineClient

public static EngineClientInterface createEngineClient(java.lang.String host,
                                                       int port,
                                                       java.lang.String processName)
                                                throws com.apama.util.CompoundException
Create a new EngineClientInterface instance that enables a client process to connect to an engine to send/receive events or perform management operations such as inject and delete. The engine client will initially use the specified host, port and process name.

Parameters:
host - The host name connect to
port - The port to connect to
processName - An optional string identifying this process to the engine
Returns:
A new EngineClientInterface instance
Throws:
com.apama.util.CompoundException


Submit a bug or feature
Copyright (c) 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. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG