|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsimnet.Statistics
simnet.NodeStatistics
simnet.RouterStatistics
Keeps statistics for a Router.
| Nested Class Summary |
| Nested classes inherited from class simnet.Statistics |
Statistics.StatisticData |
| Field Summary | |
int |
forwarded
|
| Fields inherited from class simnet.NodeStatistics |
error, received, sent |
| Fields inherited from class simnet.Statistics |
|
| Constructor Summary | |
RouterStatistics()
Creates a new object to keep track of a Router's statistics. |
|
| Method Summary | |
protected java.lang.String |
getHeader()
Return the header to use for the toString method. |
protected java.lang.String |
getStatisticString(Statistics.StatisticData sd)
Return a string for a particular statistic. |
| Methods inherited from class simnet.Statistics |
clear, defineStatistic, getStatisticString, record, record, record, recordAction, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public final int forwarded
| Constructor Detail |
public RouterStatistics()
| Method Detail |
protected java.lang.String getHeader()
getHeader in class NodeStatisticsprotected java.lang.String getStatisticString(Statistics.StatisticData sd)
getStatisticString in class NodeStatistics
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||