[Javanetsim-cvs] javaNetSim/core/protocolsuite/tcp_ip Tcp.java, 1.86, 1.87
Status: Beta
Brought to you by:
darkkey
From: Alexander B. <da...@us...> - 2006-09-23 07:31:52
|
Update of /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv19442/core/protocolsuite/tcp_ip Modified Files: Tcp.java Log Message: Index: Tcp.java =================================================================== RCS file: /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip/Tcp.java,v retrieving revision 1.86 retrieving revision 1.87 diff -C2 -d -r1.86 -r1.87 *** Tcp.java 8 Sep 2006 18:40:30 -0000 1.86 --- Tcp.java 23 Sep 2006 07:31:48 -0000 1.87 *************** *** 1421,1434 **** // System.out.println("1"); ! Simulation.addLayerInfo(new LayerInfo(getClass().getName(), mParentStack.getParentNodeName(), "TCP Protocol", "Transport", "1")); if (!(mParentStack.sendTCPSegment(listener,msg,flags,ack_num))) { ! Simulation.addLayerInfo(new LayerInfo(getClass().getName(), mParentStack.getParentNodeName(), "TCP Protocol", "Transport", "2")); Elm.SentACKs.remove(inPacket.get_sequence_number()); ! Simulation.addLayerInfo(new LayerInfo(getClass().getName(), mParentStack.getParentNodeName(), "TCP Protocol", "Transport", "3")); } // System.out.println("4"); ! Simulation.addLayerInfo(new LayerInfo(getClass().getName(), mParentStack.getParentNodeName(), "TCP Protocol", "Transport", "4")); // if (Elm.received_segments>2) // listener.RecvData(inPacket.getTCP_message()); --- 1421,1434 ---- // System.out.println("1"); ! //Simulation.addLayerInfo(new LayerInfo(getClass().getName(), mParentStack.getParentNodeName(), "TCP Protocol", "Transport", "1")); if (!(mParentStack.sendTCPSegment(listener,msg,flags,ack_num))) { ! //Simulation.addLayerInfo(new LayerInfo(getClass().getName(), mParentStack.getParentNodeName(), "TCP Protocol", "Transport", "2")); Elm.SentACKs.remove(inPacket.get_sequence_number()); ! //Simulation.addLayerInfo(new LayerInfo(getClass().getName(), mParentStack.getParentNodeName(), "TCP Protocol", "Transport", "3")); } // System.out.println("4"); ! //Simulation.addLayerInfo(new LayerInfo(getClass().getName(), mParentStack.getParentNodeName(), "TCP Protocol", "Transport", "4")); // if (Elm.received_segments>2) // listener.RecvData(inPacket.getTCP_message()); *************** *** 1436,1440 **** PassUpstairs(listener, Elm); // System.out.println("5"); ! Simulation.addLayerInfo(new LayerInfo(getClass().getName(), mParentStack.getParentNodeName(), "TCP Protocol", "Transport", "5")); } --- 1436,1440 ---- PassUpstairs(listener, Elm); // System.out.println("5"); ! //Simulation.addLayerInfo(new LayerInfo(getClass().getName(), mParentStack.getParentNodeName(), "TCP Protocol", "Transport", "5")); } |