List<ChannelFuture> futures = new ArrayList<>(peerCount);
for (Channel c : channels) {
futures.add(c.write(buffer.duplicate()));
}
ChannelGroupFuture future = new DefaultChannelGroupFuture(DummyChannelGroup.DUMMY, futures);
future.addListener(new ChannelGroupFutureListener() {
@Override
public void operationComplete(ChannelGroupFuture future) throws Exception {
master.sentBytes(reportBytes * peerCount);
ChannelState.returnSendBuffer(buffer);
if (watcher != null) {