From: <bro...@us...> - 2008-03-13 05:08:36
|
Revision: 152 http://gridsim.svn.sourceforge.net/gridsim/?rev=152&view=rev Author: brobergj Date: 2008-03-12 22:08:36 -0700 (Wed, 12 Mar 2008) Log Message: ----------- Minor updates Modified Paths: -------------- branches/gridsim4.0-branch2/examples/FlowNetEx01/FlowTest.java Modified: branches/gridsim4.0-branch2/examples/FlowNetEx01/FlowTest.java =================================================================== --- branches/gridsim4.0-branch2/examples/FlowNetEx01/FlowTest.java 2008-03-13 05:08:11 UTC (rev 151) +++ branches/gridsim4.0-branch2/examples/FlowNetEx01/FlowTest.java 2008-03-13 05:08:36 UTC (rev 152) @@ -109,6 +109,14 @@ ev.get_data() + ", at time = " + GridSim.clock()); // No need for an ack, it is handled in FlowBuffer now on our behalf + // sends back an ack + IO_data data = new IO_data(ev.get_data(), packetSize, destID_); + write(name_ + ".body(): Sending back " + + ev.get_data() + ", at time = " + GridSim.clock() ); + + // sends through Output buffer of this entity + super.send(super.output, GridSimTags.SCHEDULE_NOW, + GridSimTags.FLOW_ACK, data); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |