[Ns-bugs] [Bug 622] [PATCH] Friendly names for pcap traces
code at nsnam.ece.gatech.edu
Fri Oct 23 07:27:56 PDT 2009
--- Comment #5 from Faker Moatamri <faker.moatamri at sophia.inria.fr> 2009-10-23 10:27:56 EDT ---
I think that the best way to do is to centralize the code and to delegate the
name creation to PcapWriter i.e. something like this:
Ptr<PcapWriter> pcap = Create<PcapWriter> ();
fileName = pcap->GetFileName (nodeid, deviceid)
This way the routine GetFileName will contain the job and you don't have to
repeat the same code in each helper class. The documentation would be in that
case in PcapWriter and the change is minor in the sense that the old style will
What do you think?
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Ns-bugs