Factory class for creating runtime managers, see IRuntimeManager
More...
Factory class for creating runtime managers, see IRuntimeManager
◆ CreatePipeRuntimeManager() [1/2]
static IRuntimeManager OpenTestSystem.Otx.Runtime.Api.RuntimeManagerFactory.CreatePipeRuntimeManager |
( |
string |
otxRunnerPipeName | ) |
|
|
inlinestatic |
Creates PipeRuntimeManager without DiagManager.
- Parameters
-
otxRunnerPipeName | Pipe name which the OtxRunner listens on. |
- Returns
- A PipeRuntimeManager.
- Exceptions
-
Examples
IRuntimeManager socketRt = RuntimeManagerFactory.CreateSocketRuntimeManager(1000);
◆ CreatePipeRuntimeManager() [2/2]
static IRuntimeManager OpenTestSystem.Otx.Runtime.Api.RuntimeManagerFactory.CreatePipeRuntimeManager |
( |
string |
otxRunnerPipeName, |
|
|
string |
diagManagerPipeName |
|
) |
| |
|
inlinestatic |
Creates PipeRuntimeManager with Pipe DiagManager.
- Parameters
-
otxRunnerPipeName | Pipe name which the OtxRunner listens on. |
diagManagerPipeName | Pipe name which the DiagManager listens on. |
- Returns
- A PipeRuntimeManager.
- Exceptions
-
Exceptions.InvalidLicenseException | Thrown when a license of runtimeManager Api is not valid or expired. |
System.ArgumentNullException | Thrown when otx runner pipe name or diag manager pipe name is null. |
Examples
IRuntimeManager pipeRt = RuntimeManagerFactory.CreatePipeRuntimeManager("Emotive", "DiagManager");
◆ CreatePipeRuntimeManagerExternalRunner() [1/2]
static IRuntimeManager OpenTestSystem.Otx.Runtime.Api.RuntimeManagerFactory.CreatePipeRuntimeManagerExternalRunner |
( |
string |
otxRunnerPipeName, |
|
|
string |
diagManagerPipeName, |
|
|
string |
runnerPath |
|
) |
| |
|
inlinestatic |
Creates PipeRuntimeManager with Pipe DiagManager.
- Parameters
-
otxRunnerPipeName | Pipe name which the OtxRunner listens on. |
diagManagerPipeName | Pipe name which the DiagManager listens on. |
runnerPath | The runner's path of the OtxRunner. |
- Returns
- A PipeRuntimeManager.
- Exceptions
-
Examples
IRuntimeManager pipeRt = RuntimeManagerFactory.CreatePipeRuntimeManagerExternalRunner("Emotive", "DiagManager", "D:\\OpenTestSystem\\RuntimeAPI");
◆ CreatePipeRuntimeManagerExternalRunner() [2/2]
static IRuntimeManager OpenTestSystem.Otx.Runtime.Api.RuntimeManagerFactory.CreatePipeRuntimeManagerExternalRunner |
( |
string |
otxRunnerPipeName, |
|
|
string |
runnerPath |
|
) |
| |
|
inlinestatic |
Creates PipeRuntimeManager without DiagManager.
- Parameters
-
otxRunnerPipeName | Pipe name which the OtxRunner listens on. |
runnerPath | The runner's path of the OtxRunner. |
- Returns
- A PipeRuntimeManager.
- Exceptions
-
Examples
IRuntimeManager pipeRt = RuntimeManagerFactory.CreatePipeRuntimeManagerExternalRunner("Emotive", "D:\\OpenTestSystem\\RuntimeAPI");
◆ CreateSocketRuntimeManager() [1/2]
static IRuntimeManager OpenTestSystem.Otx.Runtime.Api.RuntimeManagerFactory.CreateSocketRuntimeManager |
( |
ushort |
otxRunnerPort | ) |
|
|
inlinestatic |
Creates SocketRuntimeManager without DiagManager.
- Parameters
-
otxRunnerPort | Port which the OtxRunner listens on, or 0 to specify any available port. |
- Returns
- A SocketRuntimeManager.
- Exceptions
-
Examples
IRuntimeManager socketRt = RuntimeManagerFactory.CreateSocketRuntimeManager(1000);
◆ CreateSocketRuntimeManager() [2/2]
static IRuntimeManager OpenTestSystem.Otx.Runtime.Api.RuntimeManagerFactory.CreateSocketRuntimeManager |
( |
ushort |
otxRunnerPort, |
|
|
ushort |
diagManagerPort |
|
) |
| |
|
inlinestatic |
Creates SocketRuntimeManager with Socket DiagManager.
- Parameters
-
otxRunnerPort | Port which the OtxRunner listens on, or 0 to specify any available port. |
diagManagerPort | Port which the DiagManager listens on. |
- Returns
- A SocketRuntimeManager.
- Exceptions
-
Examples
IRuntimeManager socketRt = RuntimeManagerFactory.CreateSocketRuntimeManager(1000, 1001);
◆ CreateSocketRuntimeManagerExternalRunner() [1/2]
static IRuntimeManager OpenTestSystem.Otx.Runtime.Api.RuntimeManagerFactory.CreateSocketRuntimeManagerExternalRunner |
( |
ushort |
otxRunnerPort, |
|
|
string |
runnerPath |
|
) |
| |
|
inlinestatic |
Creates SocketRuntimeManager without DiagManager.
- Parameters
-
otxRunnerPort | Port which the OtxRunner listens on, or 0 to specify any available port. |
runnerPath | The runner's path of the OtxRunner. |
- Returns
- A SocketRuntimeManager.
- Exceptions
-
Examples
IRuntimeManager socketRt = RuntimeManagerFactory.CreateSocketRuntimeManagerExternalRunner(1000, "D:\\OpenTestSystem\\RuntimeAPI");
◆ CreateSocketRuntimeManagerExternalRunner() [2/2]
static IRuntimeManager OpenTestSystem.Otx.Runtime.Api.RuntimeManagerFactory.CreateSocketRuntimeManagerExternalRunner |
( |
ushort |
otxRunnerPort, |
|
|
ushort |
diagManagerPort, |
|
|
string |
runnerPath |
|
) |
| |
|
inlinestatic |
Creates SocketRuntimeManager with Socket DiagManager.
- Parameters
-
otxRunnerPort | Port which the OtxRunner listens on, or 0 to specify any available port. |
diagManagerPort | Port which the DiagManager listens on. |
runnerPath | The runner's path of the OtxRunner. |
- Returns
- A SocketRuntimeManager.
- Exceptions
-
Examples
IRuntimeManager socketRt = RuntimeManagerFactory.CreateSocketRuntimeManagerExternalRunner(1000, 1001, "D:\\OpenTestSystem\\RuntimeAPI");
The documentation for this class was generated from the following file: