/** * @copyright 2013 Computer Science Department, Recursive InterNetworking Architecture (RINA) laboratory, Boston University. * All rights reserved. Permission to use, copy, modify, and distribute this software and its documentation * for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all * copies and that both the copyright notice and this permission notice appear in supporting documentation. * The RINA laboratory of the Computer Science Department at Boston University makes no * representations about the suitability of this software for any purpose. */ package rina.routing.test; import rina.object.internal.ForwardingTable; import rina.routing.util.LinkStateRoutingInfo; /** * * @author Yuefeng Wang. Computer Science Department, Boston University * */ public class testCheckNeighborTimer { public static void main(String args[]) { // LinkStateRoutingInfo routingInfo = new LinkStateRoutingInfo(1,null); // // int neighborAddr = 100; // // routingInfo.addCostToNeighbor(neighborAddr, 1); // routingInfo.updateChckNeighborTimerTask(neighborAddr); // routingInfo.addCheckNeighborTimerTask(neighborAddr); // // // try { // Thread.sleep(10000); // } catch (InterruptedException e) { // // TODO Auto-generated catch block // e.printStackTrace(); // } // // routingInfo.addCostToNeighbor(neighborAddr, 1); // routingInfo.updateChckNeighborTimerTask(neighborAddr); // routingInfo.addCheckNeighborTimerTask(neighborAddr); // } }