MockFLEMessengerBackward(QuorumPeer self, QuorumCnxManager manager){ this.manager = manager; this.self = self; this.wr = new WorkerReceiver(manager); Thread t = new Thread(this.wr, "WorkerReceiver[myid=" + self.getId() + "]"); t.setDaemon(true); t.start(); }
WorkerReceiver(QuorumCnxManager manager) { this.stop = false; this.manager = manager; }