|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectavrora.util.help.HelpCategory
avrora.monitors.MonitorFactory
avrora.monitors.PacketMonitor
Packet monitor implementation. This class logs the number of packets, e.g. bytes sent and received.
| Field Summary | |
protected Option.Bool |
DISCARD
|
static int |
INTER_PACKET_TIME
|
protected Option.Bool |
PACKETS
|
protected Option.Bool |
PREAMBLE
|
| Fields inherited from class avrora.monitors.MonitorFactory |
options |
| Fields inherited from class avrora.util.help.HelpCategory |
COMPARATOR, help, name |
| Constructor Summary | |
PacketMonitor()
create a new monitor |
|
| Method Summary | |
Monitor |
newMonitor(Simulator s)
create a new monitor, calls the constructor |
| Methods inherited from class avrora.monitors.MonitorFactory |
processOptions |
| Methods inherited from class avrora.util.help.HelpCategory |
addCommandExample, addListSection, addOptionSection, addSection, addSubcategorySection, getHelp, getName, printHelp, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int INTER_PACKET_TIME
protected Option.Bool PACKETS
protected Option.Bool PREAMBLE
protected Option.Bool DISCARD
| Constructor Detail |
public PacketMonitor()
| Method Detail |
public Monitor newMonitor(Simulator s)
newMonitor in class MonitorFactorys - the Simulator instance to create the monitor for
Monitor interface that represents the monitor for the
simulatorMonitorFactory.newMonitor(avrora.sim.Simulator)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||