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

Method makeRoomForNewMessage

routing/ActiveRouter.java:310–312  ·  view source on GitHub ↗

Tries to make room for a new message. Current implementation simply calls #makeRoomForMessage(int) and ignores the return value. Therefore, if the message can't fit into buffer, the buffer is only cleared from messages that are not being sent. @param size Size of the new message

(int size)

Source from the content-addressed store, hash-verified

308 * @param size Size of the new message
309 */
310 protected void makeRoomForNewMessage(int size) {
311 makeRoomForMessage(size);
312 }
313
314
315 /**

Callers 2

createNewMessageMethod · 0.95
createNewMessageMethod · 0.80

Calls 1

makeRoomForMessageMethod · 0.95

Tested by

no test coverage detected