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 SelectionKey
WraperSelectionKey which delegates to a real SelectionKey.
m_selector
protected final WrapperSelector m_selector
- The associated WrapperSelector.
m_delegate
protected final SelectionKey m_delegate
- The delegate SelectionKey.
WrapperSelector.WrapperSelectionKey
public WrapperSelector.WrapperSelectionKey(WrapperSelector selector,
SelectionKey key,
Object att)
channel
public abstract SelectableChannel channel()
-
- Specified by:
channel
in class SelectionKey
selector
public Selector selector()
-
- Specified by:
selector
in class SelectionKey
isValid
public boolean isValid()
-
- Specified by:
isValid
in class SelectionKey
cancel
public void cancel()
-
- Specified by:
cancel
in class SelectionKey
interestOps
public int interestOps()
-
- Specified by:
interestOps
in class SelectionKey
interestOps
public SelectionKey interestOps(int ops)
-
- Specified by:
interestOps
in class SelectionKey
readyOps
public int readyOps()
-
- Specified by:
readyOps
in class SelectionKey
getKeyString
protected String getKeyString(SelectionKey key)
- Return a description of the SelectionKey.
-
- Parameters:
key
- the seleciton key
- Returns:
- the description
toString
public String toString()
Skip navigation links
Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.