public class ConnectivityDtnsim2Report extends Report implements ConnectionListener
DEF_PRECISION, INTERVAL_SETTING, INTERVALLED_FORMAT, NAN, out, OUT_SUFFIX, OUTPUT_SETTING, PRECISION_SETTING, REPORT_NS, REPORTDIR_SETTING, WARMUP_S, warmupIDs, warmupTime| Constructor and Description |
|---|
ConnectivityDtnsim2Report()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
hostsConnected(DTNHost h1,
DTNHost h2)
Method is called when two hosts are connected.
|
void |
hostsDisconnected(DTNHost h1,
DTNHost h2)
Method is called when connection between hosts is disconnected.
|
addWarmupID, checkDirExistence, done, format, getAverage, getIntAverage, getIntMedian, getMedian, getScenarioName, getSettings, getSimTime, getVariance, init, isWarmup, isWarmupID, newEvent, removeWarmupID, setPrefix, writepublic void hostsConnected(DTNHost h1, DTNHost h2)
ConnectionListenerhostsConnected in interface ConnectionListenerh1 - Host that initiated the connectionh2 - Host that was connected topublic void hostsDisconnected(DTNHost h1, DTNHost h2)
ConnectionListenerhostsDisconnected in interface ConnectionListenerh1 - Host that initiated the disconnectionh2 - Host at the other end of the connection