|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectreport.Report
report.ContactTimesReport
report.InterContactTimesReport
public class InterContactTimesReport
Reports the inter-contact time (i.e., the time between the end of previous
contact and the beginning of a new contact between two hosts) distribution.
The syntax of the report file is the same as in ContactTimesReport
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class report.ContactTimesReport |
---|
ContactTimesReport.ConnectionInfo |
Field Summary |
---|
Fields inherited from class report.ContactTimesReport |
---|
connections, granularity, GRANULARITY |
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 | |
---|---|
InterContactTimesReport()
|
Method Summary | |
---|---|
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. |
Methods inherited from class report.ContactTimesReport |
---|
addConnection, done, increaseTimeCount, init, removeConnection |
Methods inherited from class report.Report |
---|
addWarmupID, format, getAverage, getIntAverage, getIntMedian, getMedian, getScenarioName, getSettings, getSimTime, getVariance, 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 InterContactTimesReport()
Method Detail |
---|
public void hostsConnected(DTNHost host1, DTNHost host2)
ConnectionListener
hostsConnected
in interface ConnectionListener
hostsConnected
in class ContactTimesReport
host1
- Host that initiated the connectionhost2
- Host that was connected topublic void hostsDisconnected(DTNHost host1, DTNHost host2)
ConnectionListener
hostsDisconnected
in interface ConnectionListener
hostsDisconnected
in class ContactTimesReport
host1
- Host that initiated the disconnectionhost2
- Host at the other end of the connection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |