}
public void init() throws Exception {
super.init();
if(gossip_hosts != null) {
client=new GossipClient(gossip_hosts, gossip_refresh, 1000, timer);
client.setSocketConnectionTimeout(socket_conn_timeout);
client.setSocketReadTimeout(socket_read_timeout);
}
else if(gossip_host != null && gossip_port != 0) {
try {
client=new GossipClient(new IpAddress(InetAddress.getByName(gossip_host),
gossip_port), gossip_refresh, socket_conn_timeout, timer);
client.setSocketConnectionTimeout(socket_conn_timeout);
client.setSocketReadTimeout(socket_read_timeout);
}
catch(Exception e) {