bindAddress = new InetSocketAddress(group, config.getAdvertisePort());
}
final MulticastMessageChannel channel = worker.createUdpServer(bindAddress, new ChannelListener<MulticastMessageChannel>() {
@Override
public void handleEvent(MulticastMessageChannel channel) {
channel.resumeWrites();
}
}, OptionMap.EMPTY);
final MCMPAdvertiseTask task = new MCMPAdvertiseTask(container, config, channel);
channel.getIoThread().executeAtInterval(task, config.getAdvertiseFrequency(), TimeUnit.MILLISECONDS);
}