Package aleph.comm

Examples of aleph.comm.Address


    return ((LoanAccount)locator.open(context, id, "r")).sum(accountNums, branching, context);
  }

  @Override
  public Integer checkBalance(Object id, ControlContext context){
    Address caller = ((ControlContext)context).getLastExecuter();
    Network.linkDelay(true, caller);
    ControlContext.getNeighbors(context.getContextId()).add(caller);
    return ((LoanAccount)locator.open(context, id, "r")).checkBalance(context);
  }
View Full Code Here


    locator = HyFlow.getLocator();
    }
   
  @Override
  public void setNext(Object id, ControlContext context, String nextId){
    Address caller = ((ControlContext)context).getLastExecuter();
    Network.linkDelay(true, caller);
    ControlContext.getNeighbors(context.getContextId()).add(caller);
    ((Node)locator.open(context, id, "w")).setNext(nextId, context);
  }
View Full Code Here

    ((Node)locator.open(context, id, "w")).setNext(nextId, context);
  }

  @Override
  public String getNext(Object id, ControlContext context){
    Address caller = ((ControlContext)context).getLastExecuter();
    Network.linkDelay(true, caller);
    ControlContext.getNeighbors(context.getContextId()).add(caller);
    return ((Node)locator.open(context, id, "r")).getNext(context);
  }
View Full Code Here

    locator = HyFlow.getLocator();
    }
   
  @Override
  public void setNext(Object id, ControlContext context, String nextId){
    Address caller = ((ControlContext)context).getLastExecuter();
    Network.linkDelay(true, caller);
    ControlContext.getNeighbors(context.getContextId()).add(caller);
    ((Node)locator.open(context, id, "w")).setNext(nextId, context);
  }
View Full Code Here

    return ((Node)locator.open(context, id, "r")).getNext(context);
  }

  @Override
  public Integer getValue(Object id, ControlContext context){
    Address caller = ((ControlContext)context).getLastExecuter();
    Network.linkDelay(true, caller);
    ControlContext.getNeighbors(context.getContextId()).add(caller);
    return ((Node)locator.open(context, id, "r")).getValue(context);
  }
View Full Code Here

    ((Node)locator.open(context, id, "w")).setNext(nextId, context);
  }

  @Override
  public String getNext(Object id, ControlContext context){
    Address caller = ((ControlContext)context).getLastExecuter();
    Network.linkDelay(true, caller);
    ControlContext.getNeighbors(context.getContextId()).add(caller);
    return ((Node)locator.open(context, id, "r")).getNext(context);
  }
View Full Code Here

    return ((Node)locator.open(context, id, "r")).getNext(context);
  }

  @Override
  public Integer getValue(Object id, ControlContext context){
    Address caller = ((ControlContext)context).getLastExecuter();
    Network.linkDelay(true, caller);
    ControlContext.getNeighbors(context.getContextId()).add(caller);
    return ((Node)locator.open(context, id, "r")).getValue(context);
  }
View Full Code Here

    locator = HyFlow.getLocator();
    }

  @Override
  public URI find(Object id, ControlContext context, String keyword) {
    Address caller = ((ControlContext)context).getLastExecuter();
    Network.linkDelay(true, caller);
    ControlContext.getNeighbors(context.getContextId()).add(caller);
    return ((SearchAgent)locator.open(context, id, "r")).find(keyword, context);
  }
View Full Code Here

    return ((SearchAgent)locator.open(context, id, "r")).find(keyword, context);
  }

  @Override
  public Object transfer(Object id, ControlContext context, URI name){
    Address caller = ((ControlContext)context).getLastExecuter();
    Network.linkDelay(true, caller);
    ControlContext.getNeighbors(context.getContextId()).add(caller);
    return ((SearchAgent)locator.open(context, id, "w")).transfer(name, context);
  }
View Full Code Here

TOP

Related Classes of aleph.comm.Address

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.