Package org.eclipse.ecf.examples.loadbalancing

Examples of org.eclipse.ecf.examples.loadbalancing.IDataProcessor


      IRemoteServiceTrackerCustomizer {

    public IRemoteService addingService(IRemoteServiceReference reference) {
      remoteService = remoteServiceAdapter.getRemoteService(reference);
      try {
        IDataProcessor dataProcessorProxy = (IDataProcessor) remoteService
            .getProxy();
        System.out.println("Calling remote service with input data="
            + inputData);
        // And then call it
        String result = dataProcessorProxy.processData(inputData);
        // And print out results
        System.out.println("\tremote service result=" + result);
      } catch (ECFException e) {
        e.printStackTrace();
      }
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.examples.loadbalancing.IDataProcessor

Copyright © 2018 www.massapicom. 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.