@Override protected void processPacket(QuorumPacket qp) throws Exception { if (stopPing && qp.getType() == Leader.PING) { LOG.info("Follower skipped ping"); throw new SocketException("Socket time out while sending the ping response"); } else { super.processPacket(qp); } } };
while (this.isRunning()) { readPacket(qp); processPacket(qp);
while (this.isRunning()) { readPacket(qp); processPacket(qp);
quorumPeer.follower.processPacket(qp); LOG.info("Session validation sent");
while (self.isRunning()) { readPacket(qp); processPacket(qp);