All Downloads are FREE. Search and download functionalities are using the official Maven repository.

es.tid.emulator.node.topology.HandlerTestMain Maven / Gradle / Ivy

The newest version!
package es.tid.emulator.node.topology;

import java.util.concurrent.LinkedBlockingQueue;

import es.tid.netManager.TCPOSPFSender;
import es.tid.ospf.ospfv2.OSPFv2LinkStateUpdatePacket;


public class HandlerTestMain {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		ParametersPrueba params= new ParametersPrueba();	
		params.initialize("parametersPrueba.xml");	
		Handler handler = new Handler();
		handler.XMLRead(params.getNetworkFile());
		LinkedBlockingQueue sendingQueue;
		TCPOSPFSender TCPOSPFsender = new TCPOSPFSender(params.getPCETEDBAddressList(),params.getOSPF_TCP_PORTList());
		TCPOSPFsender.start();		
		sendingQueue=TCPOSPFsender.getSendingQueue();
		handler.sendTopology(sendingQueue);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy