(DTNHost from, DTNHost to, String msgId, int msgSize, boolean firstDelivery)
| 124 | } |
| 125 | |
| 126 | protected void deliverMessage(DTNHost from, DTNHost to, String msgId, |
| 127 | int msgSize, boolean firstDelivery) { |
| 128 | assertFalse("MC contained " + mc.getLastType(), mc.next()); |
| 129 | from.update(true); |
| 130 | to.update(true); |
| 131 | checkTransferStart(from, to, msgId); |
| 132 | clock.advance((1.0*msgSize)/TRANSMIT_SPEED); |
| 133 | from.update(true); |
| 134 | to.update(true); |
| 135 | checkDelivered(from, to, msgId, firstDelivery); |
| 136 | } |
| 137 | |
| 138 | /** |
| 139 | * Moves node to disconnectLocation (far away from c0), updates it and |
no test coverage detected