Search in sources :

Example 1 with TUNNEL

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;
}
Also used : TUNNEL(org.jgroups.protocols.TUNNEL) NAKACK2(org.jgroups.protocols.pbcast.NAKACK2) PING(org.jgroups.protocols.PING) STABLE(org.jgroups.protocols.pbcast.STABLE) GMS(org.jgroups.protocols.pbcast.GMS) UNICAST3(org.jgroups.protocols.UNICAST3)

Aggregations

PING (org.jgroups.protocols.PING)1 TUNNEL (org.jgroups.protocols.TUNNEL)1 UNICAST3 (org.jgroups.protocols.UNICAST3)1 GMS (org.jgroups.protocols.pbcast.GMS)1 NAKACK2 (org.jgroups.protocols.pbcast.NAKACK2)1 STABLE (org.jgroups.protocols.pbcast.STABLE)1