![]() |
OTX-Runtime for DotNet
|
|
Default external service provider implementation More...
Public Member Functions | |
void | CreateProvider (IRuntimeContext runtimeContext, IServiceProvider serviceProvider, IConstructor constructor, List< IExternalParameter > constructorParameter) |
Invoked when a CreateProvider occurs in OTX-Runtime. More... | |
void | DisposeProvider (IServiceProvider serviceProvider) |
Invoked when a DisposeProvider occurs in OTX-Runtime. More... | |
void | ExecuteService (IRuntimeContext runtimeContext, IServiceProvider serviceProvider, IService service, List< IExternalParameter > serviceParameters, bool executeAsync) |
Invoked when an ExecuteService occurs in OTX-Runtime. More... | |
object | GetProperty (IRuntimeContext runtimeContext, IServiceProvider serviceProvider, IProperty property) |
Invoked when a GetProperty occurs in OTX-Runtime. More... | |
void | GetServiceProviderEventValues (IRuntimeContext runtimeContext, IServiceProvider serviceProvider, IEvent _event, List< IEventParameter > eventValues) |
Invoked when a GetServiceProviderEventValues occurs in OTX-Runtime. More... | |
bool | IsDisposed (IServiceProvider serviceProvider) |
Invoked when an IsDisposed occurs in OTX-Runtime. More... | |
bool | IsServiceRunning (IServiceProvider serviceProvider, IService service) |
Invoked when an IsServiceRunning occurs in OTX-Runtime. More... | |
void | SetProperty (IRuntimeContext runtimeContext, IServiceProvider serviceProvider, IProperty property, object propertyValue) |
Invoked when a SetProperty occurs in OTX-Runtime. More... | |
bool | TerminateService (IServiceProvider serviceProvider, IService service) |
Invoked when a TerminateService occurs in OTX-Runtime. More... | |
void | UpdateExternalParameterValues (string serviceId, List< string > parameterNames, object value) |
Invoked when one ore more InOut ExternalParameters was changed in OTX-Runtime to the same value. More... | |
![]() | |
void | SetProperty (IRuntimeContext runtimeContext, IServiceProvider serviceProvider, IProperty property, Object propertyValue) |
Invoked when a SetProperty occurs in OTX-Runtime. More... | |
Default external service provider implementation
|
inline |
Invoked when a CreateProvider occurs in OTX-Runtime.
serviceProvider | ServiceProvider represents an OTX ServiceProvider. |
constructor | Constructor that shall be called. |
constructorParameters | List of arguments for the construtor. |
runtimeContext | The related runtime context. |
Implements OpenTestSystem.Otx.Runtime.Api.Custom.IExternalServiceProviderImplementation.
|
inline |
Invoked when a DisposeProvider occurs in OTX-Runtime.
serviceProvider | ServiceProvider represents an OTX ServiceProvider. |
Implements OpenTestSystem.Otx.Runtime.Api.Custom.IExternalServiceProviderImplementation.
|
inline |
Invoked when an ExecuteService occurs in OTX-Runtime.
runtimeContext | The related runtime context. |
serviceProvider | ServiceProvider represents an OTX ServiceProvider. |
service | Service represents an OTX Service. |
serviceParameters | List of arguments. |
executeAsync | True if the service is executed asynchronously.Otherwise, false. |
Implements OpenTestSystem.Otx.Runtime.Api.Custom.IExternalServiceProviderImplementation.
|
inline |
Invoked when a GetProperty occurs in OTX-Runtime.
runtimeContext | The related runtime context. |
serviceProvider | ServiceProvider represents an OTX ServiceProvider. |
property | Property represents an OTX Property. |
Implements OpenTestSystem.Otx.Runtime.Api.Custom.IExternalServiceProviderImplementation.
|
inline |
Invoked when a GetServiceProviderEventValues occurs in OTX-Runtime.
runtimeContext | The related runtime context. |
serviceProvider | ServiceProvider represents an OTX ServiceProvider. |
_event | EventSignature in the given ServiceProviderSignature for which event the values shall be returned. |
eventValues | eventValues is as a result of GetServiceProviderEventValues. |
Implements OpenTestSystem.Otx.Runtime.Api.Custom.IExternalServiceProviderImplementation.
|
inline |
Invoked when an IsDisposed occurs in OTX-Runtime.
serviceProvider | ServiceProvider represents an OTX ServiceProvider. |
Implements OpenTestSystem.Otx.Runtime.Api.Custom.IExternalServiceProviderImplementation.
|
inline |
Invoked when an IsServiceRunning occurs in OTX-Runtime.
serviceProvider | ServiceProvider represents an OTX ServiceProvider. |
service | Service represents an OTX Service. |
Implements OpenTestSystem.Otx.Runtime.Api.Custom.IExternalServiceProviderImplementation.
|
inline |
Invoked when a SetProperty occurs in OTX-Runtime.
runtimeContext | The related runtime context. |
serviceProvider | ServiceProvider represents an OTX ServiceProvider. |
property | Property represents an OTX Property. |
propertyValue | Value which is set to the property. |
|
inline |
Invoked when a TerminateService occurs in OTX-Runtime.
serviceProvider | ServiceProvider represents an OTX ServiceProvider. |
service | Service represents an OTX Service. |
Implements OpenTestSystem.Otx.Runtime.Api.Custom.IExternalServiceProviderImplementation.
|
inline |
Invoked when one ore more InOut ExternalParameters was changed in OTX-Runtime to the same value.
serviceId | Represents a service id. |
parameterNames | Names of the parameters which value was changed. |
value | Value to all listed parameters was changed. |
Implements OpenTestSystem.Otx.Runtime.Api.Custom.IExternalServiceProviderImplementation.