(Connection con)
| 97 | } |
| 98 | |
| 99 | @Override |
| 100 | public void changedConnection(Connection con) { |
| 101 | super.changedConnection(con); |
| 102 | |
| 103 | if (con.isUp()) { |
| 104 | DTNHost otherHost = con.getOtherNode(getHost()); |
| 105 | updateDeliveryPredFor(otherHost); |
| 106 | updateTransitivePreds(otherHost); |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | /** |
| 111 | * Updates delivery predictions for a host. |
nothing calls this directly
no test coverage detected