public interface TaskHandler
| Modifier and Type | Method and Description |
|---|---|
void |
beginTask(TaskManager manager,
Executor executor,
java.lang.String parameters)
begin the task and process any parameters
|
void |
handleTask(Executor executor,
java.lang.String transid,
SoapResultSet transRecord)
Handles a task notification.
|
void handleTask(@Nonnull
Executor executor,
@Nonnull
java.lang.String transid,
@Nonnull
SoapResultSet transRecord)
throws java.lang.Exception
executor - an Executor object for running sqltransid - the transaction id for this notificationtransRecord - the transaction record for this trnasaction id
+--------+--------+--------+----------------+----------+------+-----------+
|trans_id|layer_id|dbclass |global_key |row_uid |action|action_name|
+--------+--------+--------+----------------+----------+------+-----------+
| 82115| 1|DBFolder|4295260035~765@1|4295260035|D |Delete |
| 82115| 1|DBFolder|4295260038~765@1|4295260038|D |Delete |
+--------+--------+--------+----------------+----------+------+-----------+java.lang.Exception - a serious problemvoid beginTask(@Nonnull
TaskManager manager,
@Nonnull
Executor executor,
@Nonnull
java.lang.String parameters)
throws java.lang.Exception
manager - the task managerexecutor - the server connectionparameters - parameters for starting the taskjava.lang.Exception - a serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.