public class InterContactTimesReport extends ContactTimesReport
ContactTimesReport.ContactTimesReport.ConnectionInfoconnections, granularity, GRANULARITYDEF_PRECISION, INTERVAL_SETTING, INTERVALLED_FORMAT, NAN, out, OUT_SUFFIX, OUTPUT_SETTING, PRECISION_SETTING, REPORT_NS, REPORTDIR_SETTING, WARMUP_S, warmupIDs, warmupTime| Constructor and Description |
|---|
InterContactTimesReport() |
| Modifier and Type | Method and Description |
|---|---|
void |
hostsConnected(DTNHost host1,
DTNHost host2)
Method is called when two hosts are connected.
|
void |
hostsDisconnected(DTNHost host1,
DTNHost host2)
Method is called when connection between hosts is disconnected.
|
addConnection, done, increaseTimeCount, init, removeConnectionaddWarmupID, checkDirExistence, format, getAverage, getIntAverage, getIntMedian, getMedian, getScenarioName, getSettings, getSimTime, getVariance, isWarmup, isWarmupID, newEvent, removeWarmupID, setPrefix, writepublic void hostsConnected(DTNHost host1, DTNHost host2)
ConnectionListenerhostsConnected in interface ConnectionListenerhostsConnected in class ContactTimesReporthost1 - Host that initiated the connectionhost2 - Host that was connected topublic void hostsDisconnected(DTNHost host1, DTNHost host2)
ConnectionListenerhostsDisconnected in interface ConnectionListenerhostsDisconnected in class ContactTimesReporthost1 - Host that initiated the disconnectionhost2 - Host at the other end of the connection