// now inject view B={B,C} into B and C
View view=View.create(b.getAddress(), 5, b.getAddress(), c.getAddress());
System.out.println("Injecting view " + view + " into B and C");
for(JChannel ch: Arrays.asList(c,b)) {
GMS gms=(GMS)ch.getProtocolStack().findProtocol(GMS.class);
gms.installView(view);
}
// Now wait for the view change, the sending of new messages 2-5 and the resending of 1, and make sure
// 1 is delivered before 2-5
List<Integer> list_b=rb.getList();