Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2014-04-11 23:17:17 +0000
committerslewis2014-04-11 23:17:17 +0000
commita3e8a7bb05ca0546489d72d5da9337a9581d6e15 (patch)
tree76903120e5672525f3974b9e8269e40cb52df5f6 /examples/bundles/org.eclipse.ecf.examples.remoteservices.hello/src
parenteb2f9dd129ad0bc1dfb6b50cdf870160a0cc2eb6 (diff)
downloadorg.eclipse.ecf-a3e8a7bb05ca0546489d72d5da9337a9581d6e15.tar.gz
org.eclipse.ecf-a3e8a7bb05ca0546489d72d5da9337a9581d6e15.tar.xz
org.eclipse.ecf-a3e8a7bb05ca0546489d72d5da9337a9581d6e15.zip
updates and fixes to hello example remote service applications
Diffstat (limited to 'examples/bundles/org.eclipse.ecf.examples.remoteservices.hello/src')
-rw-r--r--examples/bundles/org.eclipse.ecf.examples.remoteservices.hello/src/org/eclipse/ecf/examples/remoteservices/hello/IHelloAsync.java12
1 files changed, 8 insertions, 4 deletions
diff --git a/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello/src/org/eclipse/ecf/examples/remoteservices/hello/IHelloAsync.java b/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello/src/org/eclipse/ecf/examples/remoteservices/hello/IHelloAsync.java
index e2282a3b7..4f71d6511 100644
--- a/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello/src/org/eclipse/ecf/examples/remoteservices/hello/IHelloAsync.java
+++ b/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello/src/org/eclipse/ecf/examples/remoteservices/hello/IHelloAsync.java
@@ -9,8 +9,9 @@
******************************************************************************/
package org.eclipse.ecf.examples.remoteservices.hello;
+import java.util.concurrent.Future;
+
import org.eclipse.ecf.remoteservice.IAsyncCallback;
-import org.eclipse.equinox.concurrent.future.IFuture;
/**
* @since 2.0
@@ -18,15 +19,18 @@ import org.eclipse.equinox.concurrent.future.IFuture;
public interface IHelloAsync {
public void helloAsync(String from, IAsyncCallback<String> callback);
- public IFuture helloAsync(String from);
+ /**
+ * @since 4.0
+ */
+ public Future<String> helloAsync(String from);
/**
* @since 3.0
*/
public void helloMessageAsync(HelloMessage message, IAsyncCallback<String> callback);
/**
- * @since 3.0
+ * @since 4.0
*/
- public IFuture helloMessageAsync(HelloMessage message);
+ public Future<String> helloMessageAsync(HelloMessage message);
}

Back to the top