register(AbstractSelectableChannel channel, int operations, Object attachment) Registers a channel to this selector.
Parameters: channel - The channel to be registered. Parameters: operations - The interest set. Parameters: attachment - The attachment of the key.
Registers a channel to this selector.
Parameters: channel - The channel to be registered. Parameters: operations - The interest set. Parameters: attachment - The attachment of the key. The key related with the channel and the selector.