use of org.jgroups.protocols.TUNNEL in project JGroups by belaban.
the class TUNNELDeadLockTest method createTunnelChannel.
protected JChannel createTunnelChannel(String name) throws Exception {
TUNNEL tunnel = new TUNNEL().setBindAddress(InetAddress.getByName(bind_addr));
tunnel.setGossipRouterHosts(gossip_router_hosts);
JChannel ch = new JChannel(tunnel, new PING(), new NAKACK2(), new UNICAST3(), new STABLE(), new GMS().setJoinTimeout(1000)).name(name);
if (name != null)
ch.setName(name);
return ch;
}