public class EngineManagementFactory extends java.lang.Object implements ConnectionConstants
DEFAULT_ADAPTER_PORT, DEFAULT_ENGINE_PORT, DEFAULT_HOST, DEFAULT_PORT, DEFAULT_PROCESS_NAME
Modifier and Type | Method and Description |
---|---|
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,
boolean disconnectSlowReceiver)
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 |
connectToEngine(java.lang.String host,
int port,
java.lang.String processName,
java.lang.String[] args,
boolean disconnectSlowReceiver)
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.
|
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 callerEngineException
- Thrown if any exceptions occur in the Client SDK.public static EngineManagement connectToEngine(java.lang.String host, int port, java.lang.String processName, boolean disconnectSlowReceiver) 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 callerdisconnectSlowReceiver
- Disconnect any receiver if it is slowEngineException
- 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 callerEngineException
- 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 callerEngineException
- 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.public static EngineManagement connectToEngine(java.lang.String host, int port, java.lang.String processName, java.lang.String[] args, boolean disconnectSlowReceiver) 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)disconnectSlowReceiver
- Disconnect any receiver if it is slowEngineException
- Thrown if any exceptions occur in the Client SDK.Submit a bug or feature
Copyright (c) 2013-2018 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.