]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.databoard/src/org/simantics/databoard/channel/CommandChannel.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.databoard / src / org / simantics / databoard / channel / CommandChannel.java
index 66f6c347f6a029a90327f1a1167a283b82defb5e..c75f8f8c6ce7f519c2f1b53392e37a49699f229a 100644 (file)
@@ -1,35 +1,35 @@
-package org.simantics.databoard.channel;\r
-\r
-import java.util.Collection;\r
-\r
-import org.simantics.databoard.binding.mutable.Variant;\r
-\r
-/**\r
- * Command channel is a request-response channel. All operations are asynchronous.\r
- * This interface is intended to be used by channel clients.   \r
- * For each callable command there is a commandId and specified datatype for request and error.\r
- *\r
- * @author Toni Kalajainen <toni.kalajainen@iki.fi>\r
- */\r
-public interface CommandChannel {\r
-       \r
-       /**\r
-        * Invoke a service request. A asynchronous result object is returned \r
-        * at-once. <p> \r
-        * \r
-        * @param commandId command identifier\r
-        * @param request the request object\r
-        * @return asynchrouns result object\r
-        */\r
-       AsyncRequest invoke( Variant commandId, Variant request );\r
-       \r
-       /**\r
-        * Get all callable commands of the channel.\r
-        * This result is list of command specifications. For each command there is\r
-        * unique identification, result type and error type.  \r
-        * \r
-        * @return commands\r
-        */\r
-       Collection<CommandSpec> getCommands();\r
-       \r
-}\r
+package org.simantics.databoard.channel;
+
+import java.util.Collection;
+
+import org.simantics.databoard.binding.mutable.Variant;
+
+/**
+ * Command channel is a request-response channel. All operations are asynchronous.
+ * This interface is intended to be used by channel clients.   
+ * For each callable command there is a commandId and specified datatype for request and error.
+ *
+ * @author Toni Kalajainen <toni.kalajainen@iki.fi>
+ */
+public interface CommandChannel {
+       
+       /**
+        * Invoke a service request. A asynchronous result object is returned 
+        * at-once. <p> 
+        * 
+        * @param commandId command identifier
+        * @param request the request object
+        * @return asynchrouns result object
+        */
+       AsyncRequest invoke( Variant commandId, Variant request );
+       
+       /**
+        * Get all callable commands of the channel.
+        * This result is list of command specifications. For each command there is
+        * unique identification, result type and error type.  
+        * 
+        * @return commands
+        */
+       Collection<CommandSpec> getCommands();
+       
+}