|
||||||||||
| 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 times of nodes (i.e. the time between the end of previous contact and the beginning of a new contact between two hosts).
| 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, out, OUT_SUFFIX, OUTPUT_SETTING, PRECISION_SETTING, REPORTDIR_SETTING |
| 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 |
|---|
format, getScenarioName, getSimTime, newEvent, 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 ConnectionListenerhostsConnected in class ContactTimesReporthost1 - Host that initiated the connectionhost2 - Host that was connected to
public void hostsDisconnected(DTNHost host1,
DTNHost host2)
ConnectionListener
hostsDisconnected in interface ConnectionListenerhostsDisconnected in class ContactTimesReporthost1 - 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 | |||||||||