|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectionListener
Interface for classes that want to be informed about connections between hosts.
| 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. |
| Method Detail |
|---|
void hostsConnected(DTNHost host1,
DTNHost host2)
host1 - Host that initiated the connectionhost2 - Host that was connected to
void hostsDisconnected(DTNHost host1,
DTNHost host2)
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 | |||||||||