OTX-Runtime for DotNet  
OpenTestSystem.Otx.Runtime.Api.Custom.DefaultExternalServiceProviderImplementation Class Reference

Default external service provider implementation More...

Inheritance diagram for OpenTestSystem.Otx.Runtime.Api.Custom.DefaultExternalServiceProviderImplementation:
Inheritance graph

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...
 
- Public Member Functions inherited from OpenTestSystem.Otx.Runtime.Api.Custom.IExternalServiceProviderImplementation
void SetProperty (IRuntimeContext runtimeContext, IServiceProvider serviceProvider, IProperty property, Object propertyValue)
 Invoked when a SetProperty occurs in OTX-Runtime. More...
 

Detailed Description

Default external service provider implementation

Member Function Documentation

◆ CreateProvider()

void OpenTestSystem.Otx.Runtime.Api.Custom.DefaultExternalServiceProviderImplementation.CreateProvider ( IRuntimeContext  runtimeContext,
IServiceProvider  serviceProvider,
IConstructor  constructor,
List< IExternalParameter constructorParameter 
)
inline

Invoked when a CreateProvider occurs in OTX-Runtime.

Parameters
serviceProviderServiceProvider represents an OTX ServiceProvider.
constructorConstructor that shall be called.
constructorParametersList of arguments for the construtor.
runtimeContextThe related runtime context.

Implements OpenTestSystem.Otx.Runtime.Api.Custom.IExternalServiceProviderImplementation.

◆ DisposeProvider()

void OpenTestSystem.Otx.Runtime.Api.Custom.DefaultExternalServiceProviderImplementation.DisposeProvider ( IServiceProvider  serviceProvider)
inline

Invoked when a DisposeProvider occurs in OTX-Runtime.

Parameters
serviceProviderServiceProvider represents an OTX ServiceProvider.

Implements OpenTestSystem.Otx.Runtime.Api.Custom.IExternalServiceProviderImplementation.

◆ ExecuteService()

void OpenTestSystem.Otx.Runtime.Api.Custom.DefaultExternalServiceProviderImplementation.ExecuteService ( IRuntimeContext  runtimeContext,
IServiceProvider  serviceProvider,
IService  service,
List< IExternalParameter serviceParameters,
bool  executeAsync 
)
inline

Invoked when an ExecuteService occurs in OTX-Runtime.

Parameters
runtimeContextThe related runtime context.
serviceProviderServiceProvider represents an OTX ServiceProvider.
serviceService represents an OTX Service.
serviceParametersList of arguments.
executeAsyncTrue if the service is executed asynchronously.Otherwise, false.

Implements OpenTestSystem.Otx.Runtime.Api.Custom.IExternalServiceProviderImplementation.

◆ GetProperty()

object OpenTestSystem.Otx.Runtime.Api.Custom.DefaultExternalServiceProviderImplementation.GetProperty ( IRuntimeContext  runtimeContext,
IServiceProvider  serviceProvider,
IProperty  property 
)
inline

Invoked when a GetProperty occurs in OTX-Runtime.

Parameters
runtimeContextThe related runtime context.
serviceProviderServiceProvider represents an OTX ServiceProvider.
propertyProperty represents an OTX Property.
Returns
The value of the property.

Implements OpenTestSystem.Otx.Runtime.Api.Custom.IExternalServiceProviderImplementation.

◆ GetServiceProviderEventValues()

void OpenTestSystem.Otx.Runtime.Api.Custom.DefaultExternalServiceProviderImplementation.GetServiceProviderEventValues ( IRuntimeContext  runtimeContext,
IServiceProvider  serviceProvider,
IEvent  _event,
List< IEventParameter eventValues 
)
inline

Invoked when a GetServiceProviderEventValues occurs in OTX-Runtime.

Parameters
runtimeContextThe related runtime context.
serviceProviderServiceProvider represents an OTX ServiceProvider.
_eventEventSignature in the given ServiceProviderSignature for which event the values shall be returned.
eventValueseventValues is as a result of GetServiceProviderEventValues.

Implements OpenTestSystem.Otx.Runtime.Api.Custom.IExternalServiceProviderImplementation.

◆ IsDisposed()

bool OpenTestSystem.Otx.Runtime.Api.Custom.DefaultExternalServiceProviderImplementation.IsDisposed ( IServiceProvider  serviceProvider)
inline

Invoked when an IsDisposed occurs in OTX-Runtime.

Parameters
serviceProviderServiceProvider represents an OTX ServiceProvider.
Returns
True if the ServiceProvider is disposed; otherwise, false.

Implements OpenTestSystem.Otx.Runtime.Api.Custom.IExternalServiceProviderImplementation.

◆ IsServiceRunning()

bool OpenTestSystem.Otx.Runtime.Api.Custom.DefaultExternalServiceProviderImplementation.IsServiceRunning ( IServiceProvider  serviceProvider,
IService  service 
)
inline

Invoked when an IsServiceRunning occurs in OTX-Runtime.

Parameters
serviceProviderServiceProvider represents an OTX ServiceProvider.
serviceService represents an OTX Service.
Returns
True if the Service is running; otherwise, false.

Implements OpenTestSystem.Otx.Runtime.Api.Custom.IExternalServiceProviderImplementation.

◆ SetProperty()

void OpenTestSystem.Otx.Runtime.Api.Custom.DefaultExternalServiceProviderImplementation.SetProperty ( IRuntimeContext  runtimeContext,
IServiceProvider  serviceProvider,
IProperty  property,
object  propertyValue 
)
inline

Invoked when a SetProperty occurs in OTX-Runtime.

Parameters
runtimeContextThe related runtime context.
serviceProviderServiceProvider represents an OTX ServiceProvider.
propertyProperty represents an OTX Property.
propertyValueValue which is set to the property.

◆ TerminateService()

bool OpenTestSystem.Otx.Runtime.Api.Custom.DefaultExternalServiceProviderImplementation.TerminateService ( IServiceProvider  serviceProvider,
IService  service 
)
inline

Invoked when a TerminateService occurs in OTX-Runtime.

Parameters
serviceProviderServiceProvider represents an OTX ServiceProvider.
serviceService represents an OTX Service.

Implements OpenTestSystem.Otx.Runtime.Api.Custom.IExternalServiceProviderImplementation.

◆ UpdateExternalParameterValues()

void OpenTestSystem.Otx.Runtime.Api.Custom.DefaultExternalServiceProviderImplementation.UpdateExternalParameterValues ( string  serviceId,
List< string >  parameterNames,
object  value 
)
inline

Invoked when one ore more InOut ExternalParameters was changed in OTX-Runtime to the same value.

Parameters
serviceIdRepresents a service id.
parameterNamesNames of the parameters which value was changed.
valueValue to all listed parameters was changed.

Implements OpenTestSystem.Otx.Runtime.Api.Custom.IExternalServiceProviderImplementation.


The documentation for this class was generated from the following file: