Class SelectedSelectionKeySetSelector
java.lang.Object
java.nio.channels.Selector
io.netty.channel.nio.SelectedSelectionKeySetSelector
- All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable
final class SelectedSelectionKeySetSelector
extends java.nio.channels.Selector
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final java.nio.channels.Selectorprivate final SelectedSelectionKeySet -
Constructor Summary
ConstructorsConstructorDescriptionSelectedSelectionKeySetSelector(java.nio.channels.Selector delegate, SelectedSelectionKeySet selectionKeys) -
Method Summary
Methods inherited from class java.nio.channels.Selector
openMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
selectionKeys
-
delegate
private final java.nio.channels.Selector delegate
-
-
Constructor Details
-
SelectedSelectionKeySetSelector
SelectedSelectionKeySetSelector(java.nio.channels.Selector delegate, SelectedSelectionKeySet selectionKeys)
-
-
Method Details
-
isOpen
public boolean isOpen()- Specified by:
isOpenin classjava.nio.channels.Selector
-
provider
public java.nio.channels.spi.SelectorProvider provider()- Specified by:
providerin classjava.nio.channels.Selector
-
keys
public java.util.Set<java.nio.channels.SelectionKey> keys()- Specified by:
keysin classjava.nio.channels.Selector
-
selectedKeys
public java.util.Set<java.nio.channels.SelectionKey> selectedKeys()- Specified by:
selectedKeysin classjava.nio.channels.Selector
-
selectNow
public int selectNow() throws java.io.IOException- Specified by:
selectNowin classjava.nio.channels.Selector- Throws:
java.io.IOException
-
select
public int select(long timeout) throws java.io.IOException - Specified by:
selectin classjava.nio.channels.Selector- Throws:
java.io.IOException
-
select
public int select() throws java.io.IOException- Specified by:
selectin classjava.nio.channels.Selector- Throws:
java.io.IOException
-
wakeup
public java.nio.channels.Selector wakeup()- Specified by:
wakeupin classjava.nio.channels.Selector
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein classjava.nio.channels.Selector- Throws:
java.io.IOException
-