See Also: Selector Members
A controller for the selection of Java.Nio.Channels.SelectableChannel objects. Selectable channels can be registered with a selector and get a Java.Nio.Channels.SelectionKey that represents the registration. The keys are also added to the selector's key set. Selection keys can be canceled so that the corresponding channel is no longer registered with the selector.
By invoking the select method, the key set is checked and all keys that have been canceled since last select operation are moved to the set of canceled keys. During the select operation, the channels registered with this selector are checked to see whether they are ready for operation according to their Java.Nio.Channels.SelectionKey.