-package org.simantics.databoard.channel;\r
-\r
-import org.simantics.databoard.binding.mutable.Variant;\r
-import org.simantics.databoard.type.Datatype;\r
-\r
-/**\r
- * This class carries a specification for a single command. \r
- *\r
- * @author Toni Kalajainen <toni.kalajainen@iki.fi>\r
- */\r
-public class CommandSpec {\r
-\r
- /** Well-known id of the service */\r
- public final Variant commandId;\r
- \r
- /** Description of the request data. Typically a record type. */\r
- public final Datatype requestType;\r
- \r
- /** Description of the response data. Typically a record type. */\r
- public final Datatype responseType;\r
- \r
- /** Description of the error data. Typically a union type. */\r
- public final Datatype errorType;\r
- \r
- public CommandSpec(Variant commandId, Datatype requestType, Datatype responseType, Datatype errorType) {\r
- this.commandId = commandId;\r
- this.requestType = requestType;\r
- this.responseType = responseType;\r
- this.errorType = errorType;\r
- }\r
- \r
-}\r
+package org.simantics.databoard.channel;
+
+import org.simantics.databoard.binding.mutable.Variant;
+import org.simantics.databoard.type.Datatype;
+
+/**
+ * This class carries a specification for a single command.
+ *
+ * @author Toni Kalajainen <toni.kalajainen@iki.fi>
+ */
+public class CommandSpec {
+
+ /** Well-known id of the service */
+ public final Variant commandId;
+
+ /** Description of the request data. Typically a record type. */
+ public final Datatype requestType;
+
+ /** Description of the response data. Typically a record type. */
+ public final Datatype responseType;
+
+ /** Description of the error data. Typically a union type. */
+ public final Datatype errorType;
+
+ public CommandSpec(Variant commandId, Datatype requestType, Datatype responseType, Datatype errorType) {
+ this.commandId = commandId;
+ this.requestType = requestType;
+ this.responseType = responseType;
+ this.errorType = errorType;
+ }
+
+}