MERGE2 merge=(MERGE2)stack.findProtocol("MERGE2");
if(merge != null) {
merge.setMinInterval(2000);
merge.setMaxInterval(5000);
}
VIEW_SYNC sync=(VIEW_SYNC)stack.findProtocol(VIEW_SYNC.class);
if(sync != null)
sync.setAverageSendInterval(5000);
NAKACK nakack=(NAKACK)stack.findProtocol(NAKACK.class);
if(nakack != null)
nakack.setLogDiscardMsgs(false);
}