|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectreport.Report
report.PingAppReporter
public class PingAppReporter
Reporter for the PingApplication. Counts the number of pings
and pongs sent and received. Calculates success probabilities.
| Field Summary |
|---|
| Fields inherited from class report.Report |
|---|
DEF_PRECISION, INTERVAL_SETTING, INTERVALLED_FORMAT, NAN, out, OUT_SUFFIX, OUTPUT_SETTING, PRECISION_SETTING, REPORT_NS, REPORTDIR_SETTING, WARMUP_S, warmupIDs, warmupTime |
| Constructor Summary | |
|---|---|
PingAppReporter()
|
|
| Method Summary | |
|---|---|
void |
done()
Called when the simulation is done, user requested premature termination or intervalled report generating decided that it's time for the next report. |
void |
gotEvent(java.lang.String event,
java.lang.Object params,
Application app,
DTNHost host)
Application has generated an event. |
| Methods inherited from class report.Report |
|---|
addWarmupID, format, getAverage, getIntAverage, getIntMedian, getMedian, getScenarioName, getSettings, getSimTime, getVariance, init, isWarmup, isWarmupID, newEvent, setPrefix, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PingAppReporter()
| Method Detail |
|---|
public void gotEvent(java.lang.String event,
java.lang.Object params,
Application app,
DTNHost host)
ApplicationListener
gotEvent in interface ApplicationListenerevent - Event name.params - Additional parameters for the eventapp - Application instance that generated the event.host - The host this application instance is running on.public void done()
Report
done in class Report
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||