use the Object::GetTraceResolver tracing support rather than the old adhoc tracing code

This commit is contained in:
Mathieu Lacage
2007-08-12 16:28:29 +02:00
parent 2df1260c87
commit ec4d9bbcb9
31 changed files with 109 additions and 238 deletions

View File

@@ -69,8 +69,6 @@ public:
Queue ();
virtual ~Queue ();
Ptr<TraceResolver> CreateTraceResolver (void);
/**
* \return true if the queue is empty; false otherwise
@@ -167,6 +165,7 @@ private:
virtual bool DoPeek (Packet &p) = 0;
protected:
Ptr<TraceResolver> GetTraceResolver (void);
// called by subclasses to notify parent of packet drops.
void Drop (const Packet& p);