From b8bfe1f315c626a0f98d1bc34905780855288457 Mon Sep 17 00:00:00 2001 From: slewis Date: Tue, 20 Apr 2010 02:26:14 +0000 Subject: Update to IHello service --- .../META-INF/MANIFEST.MF | 2 +- .../remoteservices/hello/ds/consumer/HelloClientComponent.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.ds.consumer/META-INF/MANIFEST.MF b/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.ds.consumer/META-INF/MANIFEST.MF index a742617d1..49d910529 100644 --- a/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.ds.consumer/META-INF/MANIFEST.MF +++ b/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.ds.consumer/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %bundleName Bundle-SymbolicName: org.eclipse.ecf.examples.remoteservices.hello.ds.consumer;singleton:=true -Bundle-Version: 1.1.0.qualifier +Bundle-Version: 2.0.0.qualifier Bundle-Vendor: %bundleProvider Bundle-RequiredExecutionEnvironment: J2SE-1.5, J2SE-1.4, diff --git a/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.ds.consumer/src/org/eclipse/ecf/examples/internal/remoteservices/hello/ds/consumer/HelloClientComponent.java b/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.ds.consumer/src/org/eclipse/ecf/examples/internal/remoteservices/hello/ds/consumer/HelloClientComponent.java index 4b1a338ce..dea199bb1 100644 --- a/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.ds.consumer/src/org/eclipse/ecf/examples/internal/remoteservices/hello/ds/consumer/HelloClientComponent.java +++ b/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.ds.consumer/src/org/eclipse/ecf/examples/internal/remoteservices/hello/ds/consumer/HelloClientComponent.java @@ -39,8 +39,8 @@ public class HelloClientComponent { if (proxy instanceof IHelloAsync) { IHelloAsync helloA = (IHelloAsync) proxy; // Create callback for use in IHelloAsync - IAsyncCallback callback = new IAsyncCallback() { - public void onSuccess(Void result) { + IAsyncCallback callback = new IAsyncCallback() { + public void onSuccess(String result) { System.out.println("COMPLETED remote call with callback SUCCESS with result="+result); System.out.println(); } -- cgit v1.2.3