|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsimnet.Statistics
simnet.UDPStatistics
simnet.TCPStatistics
Keeps statistics for the data sent and received by a TCP socket. If a socket is closed, and packets are dropped, the statistics will not reflect it.
| Nested Class Summary |
| Nested classes inherited from class simnet.Statistics |
Statistics.StatisticData |
| Field Summary | |
int |
acked
|
int |
resent
|
| Fields inherited from class simnet.UDPStatistics |
dropped, received, sent |
| Fields inherited from class simnet.Statistics |
|
| Constructor Summary | |
TCPStatistics()
Create a new object to store TCP Statistics. |
|
| Method Summary | |
protected java.lang.String |
getHeader()
Return the header to use for the toString method. |
| Methods inherited from class simnet.UDPStatistics |
getStatisticString |
| 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 resent
public final int acked
| Constructor Detail |
public TCPStatistics()
| Method Detail |
protected java.lang.String getHeader()
getHeader in class UDPStatistics
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||