Asynchronous Netty UDP处理程序-异步?

Asynchronous Netty UDP处理程序-异步?,asynchronous,netty,handlers,Asynchronous,Netty,Handlers,我在有多个处理程序的UDP服务器上工作 看看我的代码,我是如何引导频道的 return new Bootstrap(). group(rtpNioEventLoopGroup()). channel(NioDatagramChannel.class). handler(saveToRepoHandler()). handler(infor

我在有多个处理程序的UDP服务器上工作

看看我的代码,我是如何引导频道的

return new Bootstrap().
                group(rtpNioEventLoopGroup()).
                channel(NioDatagramChannel.class).
                handler(saveToRepoHandler()).                
                handler(informPartyHandler()); 
现在,我的保存回购和通知方需要异步执行。它们之间没有依赖关系


netty是否异步执行它们

正在调用处理程序。。。多次只会替换上一个集合处理程序。您希望使用ChannelInitializer并在那里添加ChannelHandler。查看我们的示例或javadocs以了解详细信息