Bug 153 - PointToPointNetDevice::Add* methods should be Set methods
PointToPointNetDevice::Add* methods should be Set methods
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: devices
pre-release
All All
: P3 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-26 16:53 UTC by Mathieu Lacage
Modified: 2008-07-01 13:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Lacage 2008-03-26 16:53:57 UTC
These are setters, really, so, why should we use the verb Add ? 

AddQueue -> SetTransmitQueue (not the addition of the Transmit adjective to match the naming chosen for the error model)
AddReceiveErrorModel -> SetReceiveErrorModel

The same holds for CsmaNetDevice.
Comment 1 Mathieu Lacage 2008-05-27 18:08:21 UTC
bug was fixed a good while ago.