Skip navigation links
com.tangosol.net
Class WrapperSelector.WrapperSelectionKey
java.lang.Object
java.nio.channels.SelectionKey
com.tangosol.net.WrapperSelector.WrapperSelectionKey
- Enclosing class:
- WrapperSelector
-
public abstract static class WrapperSelector.WrapperSelectionKey
- extends java.nio.channels.SelectionKey
WraperSelectionKey which delegates to a real SelectionKey.
| Fields inherited from class java.nio.channels.SelectionKey |
OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE |
| Methods inherited from class java.nio.channels.SelectionKey |
attach, attachment, isAcceptable, isConnectable, isReadable, isWritable |
m_selector
protected final WrapperSelector m_selector
- The associated WrapperSelector.
m_delegate
protected final java.nio.channels.SelectionKey m_delegate
- The delegate SelectionKey.
WrapperSelector.WrapperSelectionKey
public WrapperSelector.WrapperSelectionKey(WrapperSelector selector,
java.nio.channels.SelectionKey key,
java.lang.Object att)
channel
public abstract java.nio.channels.SelectableChannel channel()
-
- Specified by:
channel in class java.nio.channels.SelectionKey
selector
public java.nio.channels.Selector selector()
-
- Specified by:
selector in class java.nio.channels.SelectionKey
isValid
public boolean isValid()
-
- Specified by:
isValid in class java.nio.channels.SelectionKey
cancel
public void cancel()
-
- Specified by:
cancel in class java.nio.channels.SelectionKey
interestOps
public int interestOps()
-
- Specified by:
interestOps in class java.nio.channels.SelectionKey
interestOps
public java.nio.channels.SelectionKey interestOps(int ops)
-
- Specified by:
interestOps in class java.nio.channels.SelectionKey
readyOps
public int readyOps()
-
- Specified by:
readyOps in class java.nio.channels.SelectionKey
getKeyString
protected java.lang.String getKeyString(java.nio.channels.SelectionKey key)
- Return a description of the SelectionKey.
-
- Parameters:
key - the seleciton key
- Returns:
- the description
toString
public java.lang.String toString()
Skip navigation links
Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.