Examples of IRemoteEnvironmentInfo


Examples of org.eclipse.ecf.examples.remoteservices.common.IRemoteEnvironmentInfo

      ID targetID = createTargetID(container,target);
      // Get and resolve remote service reference
      IRemoteServiceReference[] ref = adapter.getRemoteServiceReferences(targetID, org.eclipse.ecf.examples.remoteservices.common.IRemoteEnvironmentInfo.class.getName(), null);
      IRemoteService svc = adapter.getRemoteService(ref[0]);
      // get proxy
      IRemoteEnvironmentInfo proxy = (IRemoteEnvironmentInfo) svc.getProxy();
      // Call it!
      String osArch = proxy.getOSArch();
      // Show result
      MessageDialog.openInformation(
          window.getShell(),
          "ECF Lab 1",
          "Target "+target+" has OS Arch="+osArch);
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.