|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.jeri.internal.runtime.SelectionManager.Key
public final class SelectionManager.Key
A Key represents a given SelectableChannel's registration with this SelectionManager. Externally, this object is used to re-register interest in I/O readiness events that have been previously detected and dispatched.
Field Summary | |
---|---|
(package private) SelectableChannel |
channel
the channel that this Key represents a registration for |
(package private) SelectionManager.SelectionHandler |
handler
the supplied callback object for dispatching I/O events |
(package private) int |
interestMask
the current interest mask established with the SelectionKey |
(package private) boolean |
onReadyQueue
|
(package private) boolean |
onRenewQueue
|
(package private) int |
readyMask
|
(package private) SelectionManager.Key |
readyQueueNext
|
(package private) int |
renewMask
|
(package private) SelectionManager.Key |
renewQueueNext
|
(package private) SelectionKey |
selectionKey
the SelectionKey representing this Key's registration with the internal Selector, or null if it hasn't yet been registered |
Constructor Summary | |
---|---|
SelectionManager.Key(SelectableChannel channel,
SelectionManager.SelectionHandler handler)
|
Method Summary | |
---|---|
void |
renewInterestMask(int mask)
Renews interest in receiving notifications when the I/O operations identified by the specified mask are ready for the associated SelectableChannel. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
final SelectableChannel channel
final SelectionManager.SelectionHandler handler
SelectionKey selectionKey
int interestMask
boolean onRenewQueue
SelectionManager.Key renewQueueNext
int renewMask
boolean onReadyQueue
SelectionManager.Key readyQueueNext
int readyMask
Constructor Detail |
---|
SelectionManager.Key(SelectableChannel channel, SelectionManager.SelectionHandler handler)
Method Detail |
---|
public void renewInterestMask(int mask) throws ClosedChannelException
ClosedChannelException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |