Puts a message to incoming messages buffer. Two messages with the same ID are distinguished by the from host. @param m The message to put @param from Who the message was from (previous hop).
(Message m, DTNHost from)
| 393 | * @param from Who the message was from (previous hop). |
| 394 | */ |
| 395 | protected void putToIncomingBuffer(Message m, DTNHost from) { |
| 396 | this.incomingMessages.put(m.getId() + "_" + from.toString(), m); |
| 397 | } |
| 398 | |
| 399 | /** |
| 400 | * Removes and returns a message with a certain ID from the incoming |
no test coverage detected