public Epfd(Init init) { self = init.getSelf(); allNodes = init.getAll(); delay = init.getInitialDelay(); delta = init.getDeltaDelay(); sequenceNo = 0; alive = new HashSet<>(init.getAll()); suspected = new HashSet<>(); subscribe(startHandler, control); subscribe(handleCheckTimeout, timer); subscribe(handleHbRequests, pp2p); subscribe(handleHbReplies, pp2p); }
static { for (Quick q : Init.getAll()) { quicks.put(q.annotationType(), q); } }