KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > nio > channels > SelectableChannel

java.nio.channels
Class SelectableChannel

java.lang.Object
  extended by java.nio.channels.spi.AbstractInterruptibleChannel
      extended by java.nio.channels.SelectableChannel
All Implemented Interfaces:
Closeable, Channel, InterruptibleChannel
Direct Known Subclasses:
AbstractSelectableChannel
See Also:
Top Examples, Source Code, isBlocking, isRegistered, close, cancel, register, Selector

public abstract Object blockingLock()
See Also:
register, configureBlocking
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract SelectableChannel configureBlocking(boolean block)
                                             throws IOException
See Also:
IllegalBlockingModeException, ClosedChannelException, register
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract boolean isBlocking()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract boolean isRegistered()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract SelectionKey keyFor(Selector sel)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract SelectorProvider provider()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public final SelectionKey register(Selector sel,
                                   int ops)
                            throws ClosedChannelException
See Also:
IllegalArgumentException, CancelledKeyException, IllegalSelectorException, IllegalBlockingModeException, register
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract SelectionKey register(Selector sel,
                                      int ops,
                                      Object att)
                               throws ClosedChannelException
See Also:
IllegalArgumentException, CancelledKeyException, IllegalSelectorException, IllegalBlockingModeException, configureBlocking, interestOps(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected SelectableChannel()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public abstract int validOps()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags