Package com.hellblazer.gossip.configuration

Examples of com.hellblazer.gossip.configuration.GossipConfiguration


    }

    protected Gossip createDefaultCommunications(GossipListener receiver,
                                                 List<InetSocketAddress> seedHosts,
                                                 int i) throws SocketException {
        GossipConfiguration config = new GossipConfiguration();
        config.seeds = seedHosts;
        config.gossipInterval = 1;
        Gossip gossip = config.construct();
        gossip.setListener(receiver);
        return gossip;
    }
View Full Code Here

TOP

Related Classes of com.hellblazer.gossip.configuration.GossipConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.