allChannels = new DefaultChannelGroup("hedwig");
// Initialize the Netty Handlers (used by the
// UmbrellaHandler) once so they can be shared by
// both the SSL and non-SSL channels.
SubscriptionChannelManager subChannelMgr = new SubscriptionChannelManager();
subChannelMgr.addSubChannelDisconnectedListener((SubChannelDisconnectedListener) dm);
Map<OperationType, Handler> handlers =
initializeNettyHandlers(tm, dm, pm, sm, subChannelMgr);
// Initialize Netty for the regular non-SSL channels
initializeNetty(null, handlers, subChannelMgr);
if (conf.isSSLEnabled()) {