Package org.eclipse.ecf.tests.remoteservice

Examples of org.eclipse.ecf.tests.remoteservice.IConcatService.concat()


    st.open();
    IRemoteService rs = st.getRemoteService();
    final IConcatService concatService = (IConcatService) rs.getProxy();
    assertNotNull(concatService);
    System.out.println("proxy call start");
    final String result = concatService.concat("OSGi ", "is cool");
    System.out.println("proxy call end. result=" + result);
    sleep(3000);
    st.close();
    sleep(3000);
  }
View Full Code Here


      System.out.println("remoteserviceproxy call start");
      Object result = RemoteServiceHelper.syncExec(remoteService, "concat" , new Object[] { "IRemoteServiceProxy ","is very cool" }, 20000);
      System.out.println("remoteserviceproxy call end. result=" + result);
    } else {
      System.out.println("proxy call start");
      final String result = concatService.concat("OSGi ", "is cool");
      System.out.println("proxy call end. result=" + result);
    }
    sleep(3000);
    st.close();
    sleep(3000);
View Full Code Here

      System.out.println("remoteserviceproxy call start");
      Object result = RemoteServiceHelper.syncExec(remoteService, "concat" , new Object[] { "IRemoteServiceProxy ","is very cool" }, 20000);
      System.out.println("remoteserviceproxy call end. result=" + result);
    } else {
      System.out.println("proxy call start");
      final String result = concatService.concat("OSGi ", "is cool");
      System.out.println("proxy call end. result=" + result);
    }
    sleep(3000);
    st.close();
    sleep(3000);
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.