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

Method setTtl

core/Message.java:173–175  ·  view source on GitHub ↗

Sets the initial TTL (time-to-live) for this message. The initial TTL is the TTL when the original message was created. The current TTL is calculated based on the time of @param ttl The time-to-live to set

(int ttl)

Source from the content-addressed store, hash-verified

171 * @param ttl The time-to-live to set
172 */
173 public void setTtl(int ttl) {
174 this.initTtl = ttl;
175 }
176
177 /**
178 * Sets the time when this message was received.

Callers 3

setUpMethod · 0.80
createNewMessageMethod · 0.80
createNewMessageMethod · 0.80

Calls

no outgoing calls

Tested by 1

setUpMethod · 0.64