com.apama.pa.pmml
Event ServiceHandlerFactory
A helper utility to create a new ServiceHandler
create
void static create(string serviceName, string instanceName, com.apama.pa.pmml.ServiceParams serviceParams, action<com.apama.pa.pmml.ServiceHandler> onServiceInitialised, action<com.apama.pa.pmml.ServiceError> onServiceError)
Initialise a new Service and load the PMML file
-
Parameters:
-
serviceName - - Indicate the PMML Service to use, Refer to ServiceName helper utility to identify all the services currently supported
-
instanceName - - A unique name representing an instance of the scoring engine, this is used for handling all further Input/Output fields
-
serviceParams - - Pass the configuration parameters that needs to be used for this Sevice
-
onServiceInitialised - - This will be called along with a handle to ServiceHandler when the service is successfully initialised
-
onServiceError - - This will be called along with a handle to ServiceError when the service initialisation fails