Netfabbtaskserver
[Desktop Automation]
The object facilitates connection to a Netfabb taskserver service and acts as a client as well as a worker instance to a complete system.
Properties
Property | Read/write | Type | Description |
---|---|---|---|
lasterror | Read | String | The description of the last error, that has occurred |
Methods
Name | Syntax | Description |
---|---|---|
authenticate | Ret:Boolean = Taskhandler:authenticate(userid:String, serverkey: String); | Authenticates the taskhandler with a userid and the serverkey (shared secret/passphrase) |
checktask | Task:Taskobject = Taskhandler:checktask(uuidstring:string); | Returns task object by "uuidstring". Use to find "your" task. |
createtask | Task:taskobject = Taskhandler:createtask(taskname:String) | Creates a new task with the name "taskname" |
loadfilefromserver | Task:taskobject = Taskhandler:loadfilefromserver(entityuuid:String, filename:String) | Loads a file from NAS identified by entityuuid-name |
retrievetask | Task:taskobject = taskhandler:retrievetask(taskname:String) | Retrieves a task object by name of "taskname". To use by a "worker" to find a task of a certain "type" (name). |
storefileonserver | Task:taskobject = Taskhandler:storefileonserver(entityuuid:String, folderuuid:String, nameonserver:String, metainformation:String) | Stores a file on NAS in folder identified by id und the name "nameonserver". metainformation is extra information about the file |