Package org.hive2hive.core.processes.implementations.context

Examples of org.hive2hive.core.processes.implementations.context.ShareProcessContext


    return process;
  }

  public ProcessComponent createShareProcess(File folder, UserPermission permission, NetworkManager networkManager)
      throws NoSessionException, NoPeerConnectionException {
    ShareProcessContext context = new ShareProcessContext(folder, permission);

    SequentialProcess process = new SequentialProcess();
    process.add(new VerifyFriendIdStep(networkManager.getSession().getKeyManager(), permission.getUserId()));
    process.add(new UpdateUserProfileStep(context, networkManager.getSession()));
    process.add(new InitializeMetaUpdateStep(context, networkManager.getDataManager()));
View Full Code Here

TOP

Related Classes of org.hive2hive.core.processes.implementations.context.ShareProcessContext

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.