|
||||||||||
| 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
| Field Summary |
|---|
| Fields inherited from class report.Report |
|---|
DEF_PRECISION, INTERVAL_SETTING, INTERVALLED_FORMAT, out, OUT_SUFFIX, OUTPUT_SETTING, PRECISION_SETTING, REPORTDIR_SETTING |
| 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 |
|---|
done, format, getScenarioName, getSimTime, init, newEvent, 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 ConnectionListenerh1 - Host that initiated the connectionh2 - Host that was connected to
public void hostsDisconnected(DTNHost h1,
DTNHost h2)
ConnectionListener
hostsDisconnected in interface ConnectionListenerh1 - 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 | |||||||||