MCPcopy Create free account
hub / github.com/akeranen/the-one / isDeliveredMessage

Method isDeliveredMessage

routing/MessageRouter.java:212–214  ·  view source on GitHub ↗

Returns true if a full message with same ID as the given message has been received by this host as the final recipient (at least once). @param m message we're interested of @return true if a message with the same ID has been received by this host as the final recipient.

(Message m)

Source from the content-addressed store, hash-verified

210 * this host as the final recipient.
211 */
212 protected boolean isDeliveredMessage(Message m) {
213 return (this.deliveredMessages.containsKey(m.getId()));
214 }
215
216 /**
217 * Returns <code>true</code> if the message has been blacklisted. Messages

Callers 5

messageTransferredMethod · 0.95
messageTransferredMethod · 0.80
messageTransferredMethod · 0.80
checkReceivingMethod · 0.80
checkReceivingMethod · 0.80

Calls 1

getIdMethod · 0.80

Tested by

no test coverage detected