Package logisticspipes.routing

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


    }
    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

Related Classes of logisticspipes.routing.IRouterQueuedTask

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.