@Override public void initChannel(final Channel ch) throws Exception { final ChannelPipeline pipeline = ch.pipeline(); ChannelHandler handler = config.handler(); if (handler != null) { pipeline.addLast(handler); } ch.eventLoop().execute(new Runnable() { @Override public void run() { pipeline.addLast(new ServerUkcpBootstrapAcceptor( ch, currentChildHandler, currentChildOptions, currentChildAttrs)); } }); } });
buf.setLength(buf.length() - 1); buf.append(", "); Map<ChannelOption<?>, Object> childOptions = childOptions(); if (!childOptions.isEmpty()) { buf.append("childOptions: "); buf.append(", "); Map<AttributeKey<?>, Object> childAttrs = childAttrs(); if (!childAttrs.isEmpty()) { buf.append("childAttrs: "); buf.append(", "); ChannelHandler childHandler = childHandler(); if (childHandler != null) { buf.append("childHandler: ");