Examples of forceLsaUpdate()


Examples of logisticspipes.routing.IRouter.forceLsaUpdate()

    if(tile == null) return;
    if(tile.pipe instanceof CoreRoutedPipe) {
      IRouter router = ((CoreRoutedPipe)tile.pipe).getRouter();

      //this is here to allow players to manually trigger a network-wide LSA update
      router.forceLsaUpdate();

      List<List<ExitRoute>> exits = router.getRouteTable();
      HashMap<ForgeDirection, ArrayList<ExitRoute>> routers = new HashMap<ForgeDirection, ArrayList<ExitRoute>>();
      for(List<ExitRoute> exit:exits) {
        if(exit == null) continue;
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.