make Queue derive from Interface

This commit is contained in:
Mathieu Lacage
2007-05-11 19:15:28 +02:00
parent 666e00b097
commit 5cb92847c4
5 changed files with 21 additions and 15 deletions

View File

@@ -26,9 +26,12 @@ NS_DEBUG_COMPONENT_DEFINE ("Queue");
namespace ns3 {
const InterfaceId Queue::iid ("Queue");
Queue* Queue::defaultQueue = 0;
Queue::Queue() :
Interface (Queue::iid),
m_nBytes(0),
m_nTotalReceivedBytes(0),
m_nPackets(0),