|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectreport.Report
report.ConnectivityDtnsim2Report
public class ConnectivityDtnsim2Report
Link connectivity report generator for DTNSim2 input. Connections that start during the warm up period are ignored.
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 | |
---|---|
ConnectivityDtnsim2Report()
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class report.Report |
---|
addWarmupID, done, format, getAverage, getIntAverage, getIntMedian, getMedian, getScenarioName, getSettings, getSimTime, getVariance, init, isWarmup, isWarmupID, newEvent, removeWarmupID, setPrefix, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectivityDtnsim2Report()
Method Detail |
---|
public void hostsConnected(DTNHost h1, DTNHost h2)
ConnectionListener
hostsConnected
in interface ConnectionListener
h1
- Host that initiated the connectionh2
- Host that was connected topublic void hostsDisconnected(DTNHost h1, DTNHost h2)
ConnectionListener
hostsDisconnected
in interface ConnectionListener
h1
- Host that initiated the disconnectionh2
- Host at the other end of the connection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |