*/
public ChannelRegistry(ChannelBuilderIF builder) {
this.builder = builder;
this.channels = builder.createChannelGroup("Default");
// start a new timer 'daemon' which controls updating tasks
updateDaemon = new Timer(true);
updateTasks = new HashMap<URL, UpdateChannelTask>();
channelInfos = new HashMap<URL, UpdateChannelInfo>();
acceptNrOfErrors = DEFAULT_ACCEPT_NR_ERRORS;
}