Package intf.mobile.ccacore

Examples of intf.mobile.ccacore.MobileComponentID


             String coordinatorHandle)
    throws gov.cca.CCAException {
    logger.finest("called");

    // make a remote invocation on the server side
    MobileComponentID remote =
      (MobileComponentID) HandleResolver.resolveHandle(componentHandle,
                   MobileComponentID.class.getName());
    remote.requestMigration(providesComponentName, usingPortName, coordinatorHandle);
  }
View Full Code Here


  public void confirmMigration(String usingPortName)
    throws gov.cca.CCAException {
    logger.finest("called");

    // make a remote invocation on the server side
    MobileComponentID remote =
      (MobileComponentID) HandleResolver.resolveHandle(componentHandle,
                   MobileComponentID.class.getName());
    remote.confirmMigration(usingPortName);
  }
View Full Code Here

  public void migrationComplete(String usingPortName)
    throws gov.cca.CCAException {
    logger.finest("called");

    // make a remote invocation on the server side
    MobileComponentID remote =
      (MobileComponentID) HandleResolver.resolveHandle(componentHandle,
                   MobileComponentID.class.getName());
    remote.migrationComplete(usingPortName);
  }
View Full Code Here

  public void freezeComponent(String coordinatorHandle)
    throws gov.cca.CCAException {
    logger.finest("called");

    // make a remote invocation on the server side
    MobileComponentID remote =
      (MobileComponentID) HandleResolver.resolveHandle(componentHandle,
                   MobileComponentID.class.getName());
    remote.freezeComponent(coordinatorHandle);
  }
View Full Code Here

  public void unfreezeComponent()
    throws gov.cca.CCAException {
    logger.finest("called");
   
    // make a remote invocation on the server side
    MobileComponentID remote =
      (MobileComponentID) HandleResolver.resolveHandle(componentHandle,
                   MobileComponentID.class.getName());
    remote.unfreezeComponent();
  }
View Full Code Here

  public String storeIndividualComponentState(String individualStorageServiceURL)
    throws gov.cca.CCAException {
    logger.finest("called");

    // make a remote invocation on the server side
    MobileComponentID remote =
      (MobileComponentID) HandleResolver.resolveHandle(componentHandle,
                   MobileComponentID.class.getName());
    return remote.storeIndividualComponentState(individualStorageServiceURL);
  }
View Full Code Here

              String coordinatorHandle)
    throws gov.cca.CCAException {
    logger.finest("called");

    // make a remote invocation on the server side
    MobileComponentID remote =
      (MobileComponentID) HandleResolver.resolveHandle(componentHandle,
                   MobileComponentID.class.getName());
    remote.appendStateToCheckpoint(individualStorageServiceURL, coordinatorHandle);
  }
View Full Code Here

         String storageID)
    throws gov.cca.CCAException {
    logger.finest("called");

    // make a remote invocation on the server side
    MobileComponentID remote =
      (MobileComponentID) HandleResolver.resolveHandle(componentHandle,
                   MobileComponentID.class.getName());
    remote.loadComponentState(individualStorageServiceURL, storageID);
  }
View Full Code Here

  public void resumeExecution()
    throws gov.cca.CCAException {
    logger.finest("called");

    // make a remote invocation on the server side
    MobileComponentID remote =
      (MobileComponentID) HandleResolver.resolveHandle(componentHandle,
                   MobileComponentID.class.getName());
    remote.resumeExecution();
  }
View Full Code Here

    }

    // set up the edges
    for (int i = 0; i < componentInfo.length; i++) {
      String usesComponentName = componentInfo[i].getInstanceName();
      MobileComponentID cid =
  new MobileComponentIDClientImpl(usesComponentName,
          componentInfo[i].getInstanceHandle());
      String[] usesPortNames = cid.getUsedPortNames();

      // Add an edge for every uses port
      for (int j = 0; j < usesPortNames.length; j++) {
  logger.finest("Adding a connection for" +
          " uses component: " +
          usesComponentName +
          ", uses port: " +
          usesPortNames[j]);

  // Get the ConnectionID for this uses port
  XCATConnectionInfo connInfo = cid.getConnectionInfo(usesPortNames[j]);

  // If this port is not connected, skip to next iteration
  if (connInfo == null)
    continue;
View Full Code Here

TOP

Related Classes of intf.mobile.ccacore.MobileComponentID

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.