|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.apama.engine.EngineManagementFactory
public class EngineManagementFactory
This class is used to create objects that implement the EngineManagement interface.
Field Summary |
---|
Fields inherited from interface com.apama.net.ConnectionConstants |
---|
DEFAULT_ADAPTER_PORT, DEFAULT_ENGINE_PORT, DEFAULT_HOST, DEFAULT_PORT, DEFAULT_PROCESS_NAME, DEFAULT_SENTINEL_PORT |
Method Summary | |
---|---|
static EngineManagement |
connectToEngine(java.lang.String host,
int port)
This static method attempts to establish a connection to an Engine. |
static EngineManagement |
connectToEngine(java.lang.String host,
int port,
java.lang.String processName)
This static method attempts to establish a connection to an Engine. |
static EngineManagement |
connectToEngine(java.lang.String host,
int port,
java.lang.String processName,
java.lang.String[] args)
This static method attempts to establish a connection to an Engine. |
static EngineManagement |
connectToEngineMonitorOnly(java.lang.String host,
int port,
java.lang.String processName)
Attempt to establish a monitor-only connection to an Engine listening on the named host and port. |
static EngineManagement |
connectToEngineReceiveOnly(java.lang.String host,
int port,
java.lang.String processName)
Attempt to establish a receive-only connection to an Engine listening on the named host and port. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static EngineManagement connectToEngine(java.lang.String host, int port) throws EngineException
host
- The machine name where an Engine can be located.port
- The port that the Engine is listening on.
EngineException
- Thrown if any exceptions occur in the Client SDK.public static EngineManagement connectToEngine(java.lang.String host, int port, java.lang.String processName) throws EngineException
host
- The machine name where an Engine can be located.port
- The port that the Engine is listening on.processName
- The process name of the caller
EngineException
- Thrown if any exceptions occur in the Client SDK.public static EngineManagement connectToEngineReceiveOnly(java.lang.String host, int port, java.lang.String processName) throws EngineException
host
- The hostname of the machine the Engine is running on.port
- The port that the Engine is listening on.processName
- The process name of the caller
EngineException
- If the connection cannot be established.public static EngineManagement connectToEngineMonitorOnly(java.lang.String host, int port, java.lang.String processName) throws EngineException
host
- The hostname of the machine the Engine is running on.port
- The port that the Engine is listening on.processName
- The process name of the caller
EngineException
- If the connection cannot be established.public static EngineManagement connectToEngine(java.lang.String host, int port, java.lang.String processName, java.lang.String[] args) throws EngineException
host
- The machine name where an Engine can be located.port
- The port that the Engine is listening on.processName
- The process name of the callerargs
- Any other configuration information. (null is permitted)
EngineException
- Thrown if any exceptions occur in the Client SDK.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |