()
| 316 | bossExecutor.submit( |
| 317 | new Callable<Map<ChannelFuture, SocketAddress>>() { |
| 318 | @Override |
| 319 | public Map<ChannelFuture, SocketAddress> call() { |
| 320 | Map<ChannelFuture, SocketAddress> bindFutures = new HashMap<>(); |
| 321 | for (SocketAddress address: addresses) { |
| 322 | ChannelFuture future = b.bind(address); |
| 323 | channelGroup.add(future.channel()); |
| 324 | bindFutures.put(future, address); |
| 325 | } |
| 326 | return bindFutures; |
| 327 | } |
| 328 | } |
| 329 | ); |
| 330 | Map<ChannelFuture, SocketAddress> channelFutures = |