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

Method next

test/MessageChecker.java:68–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 }
67
68 public boolean next() {
69 if (this.queue.size() == 0) {
70 return false;
71 }
72
73 MsgCheckerEvent e = this.queue.remove(0);
74
75 this.lastMsg = e.msg;
76 this.lastFrom = e.from;
77 this.lastTo = e.to;
78 this.lastType = e.type;
79 this.lastFirstDelivery = e.delivered;
80 this.lastDropped = e.dropped;
81 return true;
82
83 }
84
85 private void add(Message m, DTNHost from, DTNHost to, String type, Boolean
86 dropped, Boolean delivered) {

Callers 15

setLocationMethod · 0.80
busHasStoppedMethod · 0.80
getCsvSettingMethod · 0.80
valueFillStringMethod · 0.80
testThresholdMethod · 0.80
testRoutingMethod · 0.80
doRelayMethod · 0.80
checkCreatesMethod · 0.80
checkTransferStartMethod · 0.80
checkDeliveredMethod · 0.80
deliverMessageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected