Package cartago

Examples of cartago.CartagoWorkspace.join()


  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;
    } catch (LipeRMIException e) {
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.