Package cartago

Examples of cartago.ICartagoCallback


  @Override
  public OpId execInterArtifactOp(ICartagoCallbackRemote callback, long callbackId,
      AgentId userId, ArtifactId srcId, ArtifactId targetId, Op op,
      long timeout, IAlignmentTest test) throws CartagoException {
   
    ICartagoCallback proxy = new CartagoCallbackProxy(callback);
    String wspName = targetId.getWorkspaceId().getName();
    CartagoWorkspace wsp = mNode.getWorkspace(wspName);
    return wsp.execInterArtifactOp(proxy, callbackId, userId, srcId, targetId, op, timeout, test);
  }
View Full Code Here


  @Override
  public IAgentBodyRemote join(String wspName, AgentCredential cred,
      ICartagoCallbackRemote callback) throws CartagoException {
   
    CartagoWorkspace wsp = mNode.getWorkspace(wspName);
    ICartagoCallback proxy = new CartagoCallbackProxy(callback);
    ICartagoContext ctx = wsp.join(cred,proxy);
    try {
      IAgentBodyRemote rctx = new AgentBodyRemote((AgentBody)ctx, mCallHandler);
      mRemoteCtxs.add((AgentBodyRemote) rctx);
      return rctx;
View Full Code Here

TOP

Related Classes of cartago.ICartagoCallback

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.