The Reactor pattern serves precisely this function.
反应器模式正好适用于这一功能。
In keeping with the Reactor pattern, a Selector class is a multiplexor of Channels.
与反应器模式一致,Selector类是Channel的多路复用器。
The Selector class plays the role of a Reactor in the Reactor pattern scenario.
在反应器模式情形中, Selector 类充当 Reactor 角色。
应用推荐