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

Method SprayAndWaitRouter

routing/SprayAndWaitRouter.java:35–41  ·  view source on GitHub ↗
(Settings s)

Source from the content-addressed store, hash-verified

33 protected boolean isBinary;
34
35 public SprayAndWaitRouter(Settings s) {
36 super(s);
37 Settings snwSettings = new Settings(SPRAYANDWAIT_NS);
38
39 initialNrofCopies = snwSettings.getInt(NROF_COPIES);
40 isBinary = snwSettings.getBoolean( BINARY_MODE);
41 }
42
43 /**
44 * Copy constructor.

Callers

nothing calls this directly

Calls 2

getIntMethod · 0.95
getBooleanMethod · 0.95

Tested by

no test coverage detected