API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.nio.channels.spi. AbstractSelectableChannel View Source
Author(s)
Mark Reinhold
Mike McCloskey
JSR-51 Expert Group
Since
1.4
Version
1.26, 05/11/17
Serial
Hierarchy
 Object
      AbstractInterruptibleChannel
          SelectableChannel
              AbstractSelectableChannel
Implements
Subclasses
Description
publicabstract abstract class AbstractSelectableChannel
  Base implementation class for selectable channels.
See also:   
Constructors
protected AbstractSelectableChannel (SelectorProvider provider)
Initializes a new instance of this class.
Methods
Hide/Show inherited methods
protectedfinal void begin () [Inherited From AbstractInterruptibleChannel]
  Marks the beginning of an I/O operation that might block indefinitely.
pack-privatestatic void blockedOn (sun.nio.ch.Interruptible intr) [Inherited From AbstractInterruptibleChannel]
publicfinal Object blockingLock () [Specified in SelectableChannel]
publicfinal void close () throws IOException [Inherited From AbstractInterruptibleChannel]
  Closes this channel.
publicfinal SelectableChannel configureBlocking (boolean block) throws IOException [Specified in SelectableChannel]
  Adjusts this channel's blocking mode.
protectedfinal void end (boolean completed) throws AsynchronousCloseException [Inherited From AbstractInterruptibleChannel]
  Marks the end of an I/O operation that might block indefinitely.
protectedfinal void implCloseChannel () throws IOException [Specified in AbstractInterruptibleChannel]
  Closes this channel.
protectedabstract void implCloseSelectableChannel () throws IOException
  Closes this selectable channel.
protectedabstract void implConfigureBlocking (boolean block) throws IOException
  Adjusts this channel's blocking mode.
publicfinal boolean isBlocking () [Specified in SelectableChannel]
publicfinal boolean isOpen () [Inherited From AbstractInterruptibleChannel]
publicfinal boolean isRegistered () [Specified in SelectableChannel]
publicfinal SelectionKey keyFor (Selector sel) [Specified in SelectableChannel]
publicfinal SelectorProvider provider () [Specified in SelectableChannel]
  Returns the provider that created this channel.
publicfinal SelectionKey register (Selector sel, int ops) throws ClosedChannelException [Inherited From SelectableChannel]
  Registers this channel with the given selector, returning a selection key.
publicfinal SelectionKey register (Selector sel, int ops, Object att) throws ClosedChannelException [Specified in SelectableChannel]
  Registers this channel with the given selector, returning a selection key.
pack-private void removeKey (SelectionKey k)
publicabstract int validOps () [Inherited From SelectableChannel]
  Returns an operation set identifying this channel's supported operations.
Fields
Hide/Show inherited fields
pack-private boolean blocking
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar