Examples of fireAsync()


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

  public void testSimpleClientAndServerWithFireAsync() throws Exception {

    IRemoteService remoteService = client.getRemoteService();
    assertNotNull(remoteService);
    // Use callSync
    remoteService.fireAsync(getRemoteConcatCall(TEST_STRING_2, TEST_STRING_1));
   
    Thread.sleep(1000);
   
  }
View Full Code Here

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

  public void testSimpleClientAndServerWithFireAsync() throws Exception {

    IRemoteService remoteService = client.getRemoteService();
    assertNotNull(remoteService);
    // Use callSync
    remoteService.fireAsync(getRemoteConcatCall(TEST_STRING_2, TEST_STRING_1));
   
    Thread.sleep(1000);
   
  }
View Full Code Here

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

  public void testFireAsynch() throws Exception {
    final IRemoteService service = getRemoteService(targetID,
        getRemoteServiceClass().getName(), getRemoteServiceFilter());
    assertNotNull(service);
    traceCallStart("fireAsynch");
    service.fireAsync(createRemoteConcat("Eclipse ", "sucks"));
    traceCallEnd("fireAsynch");
    Thread.sleep(ASYNC_WAITTIME);
  }

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

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

  public void testFireAsynch() throws Exception {
    final IRemoteService service = registerAndGetRemoteService();
    if (service == null)
      return;
    traceCallStart("fireAsynch");
    service.fireAsync(createRemoteConcat("Eclipse ", "sucks"));
    traceCallEnd("fireAsynch");
    Thread.sleep(SLEEPTIME);
  }

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

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

    final Object o = remoteReferences[0].getProperty(RemoteConstants.SERVICE_IMPORTED);
    assertNotNull(o);
    assertTrue(o instanceof IRemoteService);
    final IRemoteService rs = (IRemoteService) o;
    // Call asynchronously
    rs.fireAsync(createRemoteCall());
    Thread.sleep(REGISTER_WAIT);
  }
 
  public void testAsyncProxyFuture() throws Exception {
    createServiceTrackerAndRegister();
View Full Code Here

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

    final Object o = remoteReferences[0].getProperty(SERVICE_IMPORTED);
    assertNotNull(o);
    assertTrue(o instanceof IRemoteService);
    final IRemoteService rs = (IRemoteService) o;
    // Call asynchronously
    rs.fireAsync(createRemoteCall());
    Thread.sleep(REGISTER_WAIT);
    endTest("testFireAsync");
  }
}
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.