GMS gms=(GMS)stack.findProtocol("GMS");
if(gms != null) {
gms.setJoinTimeout(join_timeout);
}
Discovery discovery=(Discovery)stack.findProtocol(Discovery.class);
if(discovery != null) {
discovery.setNumInitialMembers(10);
discovery.setTimeout(discovery_timeout);
}
stack=c1.getProtocolStack();
DELAY_JOIN_REQ delay=new DELAY_JOIN_REQ();
delay.setDelay(delay_join_req);