/* $Header$ */
// Generic Worker Object Resources
// Copyright (C) Omnis Software Ltd 2017

/* Changes
Date				Edit		Fault				Description

*/

1   BITMAP  DISCARDABLE     "WORKER.BMP"

STRINGTABLE DISCARDABLE 
BEGIN
		 	1000	"WORKER" // Name of component
			1001	"Worker Objects"

			// Note: resources 2000-5999 are reserved for use by the custom implementation
			2000	"WORKER:Worker Sample"	//Advertised object name

			//Worker objectr methods 
			2300 "$init:Initialise statement worker object"
			2301 "$run:Run statement worker on main thread"
			2302 "$start:Run statement worker on background thread"
			2303 "$cancel:Cancel statement on background thread"

			2305 "$completed:$completed(wResults) Method called when the request completes.wResults is a row containing the results of executing the request" // rmm8461
			2306 "$cancelled:$cancelled() Method called when the request has been cancelled" 

			//Worker object properties 
			2330 "$state:Returns the worker's current state"
			2331 "$errortext:Error text associated with the last action"
			2332 "$cancelifrunning:If kTrue, sends a cancel request the worker thread upon object re-use/destruction."
			2333 "$threadcount:Returns the number of active background threads for all worker instances"
			2334 "$errorcode:Error code associated with the last action"
			2335 "$waitforcomplete:If ktrue, the worker cannot be re-used until the worker thread terminates. If kFalse, the worker thread will be detached if re-used before the thread terminates"

		 	///// Mandatory resources /////
			31000 "WorkerObjProc"					//Object entry point
			31020 "VER 5 210 %%ORFC_VER%%"			//ORFC Version String

			32000 "UTSR"							//Use thread-safe resources
END


