|
static EngineManagement | ConnectToEngine (string host, ushort port) |
| This function attempts to establish a connection to an Engine. It returns an EngineManagement object that can be used to access the Engine. More...
|
|
static EngineManagement | ConnectToEngine (string host, ushort port, bool disconnectSlowReceiver) |
| This function attempts to establish a connection to an Engine. It returns an EngineManagement object that can be used to access the Engine. More...
|
|
static EngineManagement | ConnectToEngineMonitorOnly (string host, ushort port) |
| Attempt to establish a monitor-only connection to an Engine listening on the named host and port. If successful, the returned EngineManagement can be used for the ConnectEventConsumer(), GetStatus(), InspectEngine() and Ping() operations. All other operations will fail. More...
|
|
static EngineManagement | ConnectToEngineReceiveOnly (string host, ushort port) |
| Attempt to establish a receive-only connection to an Engine listening on the named host and port. If successful, the returned EngineManagement can be used for the ConnectEventConsumer(), GetStatus(), InspectEngine() and Ping() operations. All other operations will fail. More...
|
|
static void | DisconnectFromEngine (EngineManagement engineManagement) |
| Legacy method equivalent to EngineManagement.Dispose() More...
|
|
static void | EngineInit () |
| This method must be called when the client program is started. It initializes the library's state. Calling it more than once has no effect. More...
|
|
static void | EngineInit (bool messaging) |
| This function must be called once per process first before any other Engine operations are carried out. It initializes the library's state. Calling it more than once has no effect. More...
|
|
static void | EngineInit (string name, bool messaging) |
| This function must be called once per process first before any other Engine operations are carried out. It initializes the library's state. Calling it more than once has no effect. More...
|
|
static void | EngineShutdown () |
| This function must be called once per process before the application closes down. It ensures that communications are shutdown properly and state is cleaned up. More...
|
|
static void | SetEngineParams ([MarshalAs(UnmanagedType.LPWStr)]string arg0) |
| Set custom parameters for this instance of the client library. Must be called before engineInit. The parameters are passed as a set of name, value pairs formatted as <name1>=<value1>;<name2=value2>; (i.e. equals sign between name and value, and semicolon separating the name value pairs). More...
|
|
The Api class contains static methods to initialise and stop the client interface.
static void Apama.Engine.Api.SetEngineParams |
( |
[MarshalAs(UnmanagedType.LPWStr)] string |
arg0 | ) |
|
|
static |
Set custom parameters for this instance of the client library. Must be called before engineInit. The parameters are passed as a set of name, value pairs formatted as <name1>=<value1>;<name2=value2>; (i.e. equals sign between name and value, and semicolon separating the name value pairs).
The following parameters are defined so far.
ConfigFile - A filename from which to read a configuration file LogicalID - The logical id with which this component should be identified (a 64-bit integer)
- Parameters
-
arg0 | The paramters to set as a formatted string |