[Javanetsim-cvs] javaNetSim/core/protocolsuite/tcp_ip Echo_tcp.java, 1.26, 1.27
Status: Beta
Brought to you by:
darkkey
From: Alexander B. <da...@us...> - 2006-09-03 14:01:01
|
Update of /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv22792/core/protocolsuite/tcp_ip Modified Files: Echo_tcp.java Log Message: Index: Echo_tcp.java =================================================================== RCS file: /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip/Echo_tcp.java,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** Echo_tcp.java 3 Sep 2006 13:56:54 -0000 1.26 --- Echo_tcp.java 3 Sep 2006 14:00:58 -0000 1.27 *************** *** 173,178 **** */ public void RecvData(String Data) throws LowLinkException, TransportLayerException { - crecv++; - System.out.println(Data + ":" + crecv); //processing the protocol doings. if(appType == 0){ --- 173,176 ---- *************** *** 185,188 **** --- 183,188 ---- protInfo.setDescription("Recieving echo message '" + Data + "' from server."); Simulation.addLayerInfo(protInfo); + crecv++; + System.out.println("***************************************************" + Data + ":" + crecv); /* LayerInfo protInfo = new LayerInfo(getClass().getName()); |