Examples of IRouterQueuedTask


Examples of logisticspipes.routing.IRouterQueuedTask

    }
    final int fSourceId = sourceId;
    BitSet set = new BitSet(ServerRouter.getBiggestSimpleID());
    for(ExitRoute exit:this.getRouter().getIRoutersByCost()) {
      if(exit.destination != null && !set.get(exit.destination.getSimpleID())) {
        exit.destination.queueTask(10, new IRouterQueuedTask() {
          @Override
          public void call(CoreRoutedPipe pipe, IRouter router) {
            pipe.handleMesssage((int) ((double) computerId), message, fSourceId);
          }
        });
View Full Code Here

Examples of logisticspipes.routing.IRouterQueuedTask

    }
    final int fSourceId = sourceId;
    BitSet set = new BitSet(ServerRouter.getBiggestSimpleID());
    for(ExitRoute exit:this.getRouter().getIRoutersByCost()) {
      if(exit.destination != null && !set.get(exit.destination.getSimpleID())) {
        exit.destination.queueTask(10, new IRouterQueuedTask() {
          @Override
          public void call(CoreRoutedPipe pipe, IRouter router) {
            pipe.handleBroadcast(message, fSourceId);
          }
        });
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.