March 2005
Beginner to intermediate
1254 pages
104h 21m
English
AbstractSelectableChannel
This class exists as a convenience for
implementors of new selectable channel classes: it defines common
methods of SelectableChannel in terms of protected
methods whose names begin with impl. Application
programmers should never need to use or subclass this class.

Figure 13-44. java.nio.channels.spi.AbstractSelectableChannel
public abstract class AbstractSelectableChannel extends java.nio.channels. SelectableChannel { // Protected Constructors protected AbstractSelectableChannel(SelectorProvider provider); // Public Methods Overriding SelectableChannel public final Object blockingLock( ); public final java.nio.channels.SelectableChannel configureBlocking(boolean block) throws java.io.IOException; public final boolean isBlocking( ); public final boolean isRegistered( ); public final java.nio.channels.SelectionKey keyFor(java.nio.channels. Selector sel); public final SelectorProvider provider( ); public final java.nio.channels.SelectionKey register(java.nio.channels. Selector sel, int ops, Object att) throws java.nio.channels.ClosedChannelException; // Protected Methods Overriding AbstractInterruptibleChannel protected final void implCloseChannel( ) throws java.io.IOException; // Protected Instance Methods protected abstract void implCloseSelectableChannel( ) throws java.io.IOException; protected abstract void implConfigureBlocking(boolean block ...
Read now
Unlock full access