X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.databoard%2Fsrc%2Forg%2Fsimantics%2Fdataboard%2Fchannel%2FServiceHandler.java;h=3b948def1197bfbb2c708fe1479f338d22a0121d;hb=c69064f9e740eb4abe8448a63d306a085e036e1c;hp=8d99ac85b8bfbcd1517676c8cabb103bb3514f28;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.databoard/src/org/simantics/databoard/channel/ServiceHandler.java b/bundles/org.simantics.databoard/src/org/simantics/databoard/channel/ServiceHandler.java index 8d99ac85b..3b948def1 100644 --- a/bundles/org.simantics.databoard/src/org/simantics/databoard/channel/ServiceHandler.java +++ b/bundles/org.simantics.databoard/src/org/simantics/databoard/channel/ServiceHandler.java @@ -1,32 +1,32 @@ -package org.simantics.databoard.channel; - -import java.util.Collection; - -/** - * Server interface of command channel.

- * - * For each callable command there is a well-known commandId and datatype.

- * - * @author Toni Kalajainen - */ -public interface ServiceHandler { - - /** - * Handle service request from the client. The implementation may handle - * the service at once or later, even in another thread. The result is - * written to the asynchronous result object.

- * - * @param request - */ - void handleRequest( ServiceRequest request ); - - /** - * Get all callable commands handled by this service handler. - * This result is list of command specifications. For each command there is - * unique identification, result type and error type. - * - * @return commands - */ - Collection getCommands(); - -} +package org.simantics.databoard.channel; + +import java.util.Collection; + +/** + * Server interface of command channel.

+ * + * For each callable command there is a well-known commandId and datatype.

+ * + * @author Toni Kalajainen + */ +public interface ServiceHandler { + + /** + * Handle service request from the client. The implementation may handle + * the service at once or later, even in another thread. The result is + * written to the asynchronous result object.

+ * + * @param request + */ + void handleRequest( ServiceRequest request ); + + /** + * Get all callable commands handled by this service handler. + * This result is list of command specifications. For each command there is + * unique identification, result type and error type. + * + * @return commands + */ + Collection getCommands(); + +}