Examples of callSync()


Examples of org.eclipse.ecf.remoteservice.IRemoteService.callSync()

   
    // Get IRemoteService from proxy
    final IRemoteService remoteService = getRemoteServiceFromProxy(proxy);

    // Call remote service synchronously
    final Object result = remoteService.callSync(createRemoteCall());
    Trace.trace(Activator.PLUGIN_ID, "proxy.doStuff1 result=" + result);
    assertStringResultValid(result, TestServiceInterface1.TEST_SERVICE_STRING1);
  }

  public void testCallSync() throws Exception {
View Full Code Here

Examples of org.eclipse.ecf.remoteservice.IRemoteService.callSync()

    assertNotNull(o);
    assertTrue(o instanceof IRemoteService);
    final IRemoteService rs = (IRemoteService) o;

    // Call synchronously
    final Object result = rs.callSync(createRemoteCall());
    Trace.trace(Activator.PLUGIN_ID, "callSync.doStuff1 result=" + result);
    assertStringResultValid(result, TestServiceInterface1.TEST_SERVICE_STRING1);
  }

  public void testCallAsync() throws Exception {
View Full Code Here

Examples of org.eclipse.ecf.remoteservice.IRemoteService.callSync()

   
    // Get IRemoteService from proxy
    final IRemoteService remoteService = getRemoteServiceFromProxy(proxy);

    // Call remote service synchronously
    final Object result = remoteService.callSync(createRemoteCall());
    Trace.trace(Activator.PLUGIN_ID, "proxy.doStuff1 result=" + result);
    assertStringResultValid(result, TestServiceInterface1.TEST_SERVICE_STRING1);
    endTest("testCallSyncFromProxy");
  }
View Full Code Here

Examples of org.eclipse.ecf.remoteservice.IRemoteService.callSync()

    assertNotNull(o);
    assertTrue(o instanceof IRemoteService);
    final IRemoteService rs = (IRemoteService) o;

    // Call synchronously
    final Object result = rs.callSync(createRemoteCall());
    Trace.trace(Activator.PLUGIN_ID, "callSync.doStuff1 result=" + result);
    assertStringResultValid(result, TestServiceInterface1.TEST_SERVICE_STRING1);
    endTest("testCallSync");
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.