View new_view=View.create(channels[1].getAddress(), 3, channels[1].getAddress(),
channels[0].getAddress(), channels[2].getAddress());
System.out.println("Installing view " + new_view + " members A and C (not B !)");
for(JChannel ch: new JChannel[]{channels[0], channels[2]}) {
GMS gms=(GMS)ch.getProtocolStack().findProtocol(GMS.class);
gms.up(new Event(Event.VIEW_CHANGE, new_view));
}
for(JChannel ch: channels)
System.out.println(ch.getName() + ": view is " + ch.getView());