The Selector component provides a selection mechanism for invoking components that have the same interface.
Selector组件为调用具有相同接口的组件提供一种选择机制。
2
The selector internally calls a native poll() function (shown in Listing 5), which provides a mechanism for multiplexing inputs and outputs over a set of file descriptors