int interestOps, Object attachment) {
if (!(channel instanceof ChannelUDT)) {
// also takes care of null
log.error("!(channel instanceof ChannelUDT)");
throw new IllegalSelectorException();
}
synchronized (publicRegisteredKeySet) {
if (publicRegisteredKeySet.size() == maximimSelectorSize) {
log.error("reached maximimSelectorSize)");
throw new IllegalSelectorException();
}
ChannelUDT channelUDT = (ChannelUDT) channel;
SocketUDT socketUDT = channelUDT.getSocketUDT();