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

Method removeFromMessages

routing/MessageRouter.java:442–445  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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

Callers 1

deleteMessageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected