--- /dev/null
+package org.simantics.team.internal;\r
+\r
+/**\r
+ * A parallel interface for ITaskManager suited for use with the\r
+ * org.simantics.datatype MethodInterface RPC mechanism.\r
+ * \r
+ * Differences:\r
+ * - void return values not supported (will be supported in the future)\r
+ * \r
+ * @author Tuukka Lehtonen\r
+ */\r
+public interface ImportCoordinator {\r
+\r
+ int completed(double amount);\r
+ int subTask(String name);\r
+ int error(Exception e);\r
+ int error(String message, Exception e);\r
+ int error(String message);\r
+ int warning(String message);\r
+ int message(String message);\r
+ int debug(String message);\r
+ boolean isCanceled();\r
+\r
+ int sendData(String key, String value);\r
+\r
+}\r