[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] How do I monitor a queue in wireless
When you don't know a class's inheritance grep for it, as in the example below :
grep for the object you are looking for then grep for TclClass to see how it is
instanciated in OTcl. I believe QueueMonitor doesn't have any parent class.
To make use of it, read the manual; then grep for it (once again) in tcl/test or
tcl/ex to see examples.
$/ns-2.1b6-Tarik >grep QueueMonitor *.cc | grep TclClass
flowmon.cc: FlowMonitorClass() : TclClass("QueueMonitor/ED/Flowmon") {}
flowmon.cc: FlowClass() : TclClass("QueueMonitor/ED/Flow") {}
queue-monitor.cc:static class QueueMonitorClass : public TclClass {
queue-monitor.cc: QueueMonitorClass() : TclClass("QueueMonitor") {}
queue-monitor.cc:static class QueueMonitorEDClass : public TclClass {
queue-monitor.cc: QueueMonitorEDClass() : TclClass("QueueMonitor/ED") {}
queue-monitor.cc:static class QueueMonitorCompatClass : public TclClass {
queue-monitor.cc: QueueMonitorCompatClass() :
TclClass("QueueMonitor/Compat") {}
>Date: Sat, 22 Jul 2000 14:44:08 +0100 (BST)
>From: Utibe Ita <[email protected]>
>Subject: [ns] How do I monitor a queue in wireless
>To: [email protected]
>MIME-Version: 1.0
>Content-Transfer-Encoding: 8bit
>
>I want to monitor the queue at a sink and i have been
>reading chapter 19 of the ns manual to try and figure
>out how to do this.I have very little knowledge of C.
>Is this correct set sink [new
>Agent/TCPSink/QueueMonitor/ED .
>
>Please dont laugh.
>Thank you
>Utibe
>
>____________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
>or your free @yahoo.ie address at http://mail.yahoo.ie
Tarik Alj
INRS-Telecommunications
Place Bonaventure
900 De La Gauchetierre Ouest
Niveau C, Case Postale 644
Montreal, Qc, H5A 1C6
Canada
514 875-1266 #2036 (email preferred)