Removes and returns a message from the message buffer. @param id Identifier of the message to remove @return The removed message or null if message for the ID wasn't found
(String id)
| 440 | * @return The removed message or null if message for the ID wasn't found |
| 441 | */ |
| 442 | protected Message removeFromMessages(String id) { |
| 443 | Message m = this.messages.remove(id); |
| 444 | return m; |
| 445 | } |
| 446 | |
| 447 | /** |
| 448 | * This method should be called (on the receiving host) when a message |