diff options
author | slewis | 2014-04-11 23:17:17 +0000 |
---|---|---|
committer | slewis | 2014-04-11 23:17:17 +0000 |
commit | a3e8a7bb05ca0546489d72d5da9337a9581d6e15 (patch) | |
tree | 76903120e5672525f3974b9e8269e40cb52df5f6 /examples/bundles/org.eclipse.ecf.examples.remoteservices.hello/src | |
parent | eb2f9dd129ad0bc1dfb6b50cdf870160a0cc2eb6 (diff) | |
download | org.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
Change-Id: I63167add0fac984311b7d36487add1fc06afa339
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.java | 12 |
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); } |