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

Method getHopCount

core/Message.java:146–148  ·  view source on GitHub ↗

Returns the amount of hops this message has passed @return the amount of hops this message has passed

()

Source from the content-addressed store, hash-verified

144 * @return the amount of hops this message has passed
145 */
146 public int getHopCount() {
147 return this.path.size() -1;
148 }
149
150 /**
151 * Returns the time to live (minutes) of the message or Integer.MAX_VALUE

Callers 8

messageTransferredMethod · 0.80
compareMethod · 0.80
calcThresholdMethod · 0.80
compareMethod · 0.80
compareMethod · 0.80
calcThresholdMethod · 0.80
compareMethod · 0.80
checkHopCountPolicyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected