Name

AbstractSelectionKey

Synopsis

This class exists as a convenience for implementors of new SelectionKey classes. Application programmers should never need to use or subclass this class.

java.nio.channels.spi.AbstractSelectionKey

Figure 13-45. java.nio.channels.spi.AbstractSelectionKey

public abstract class AbstractSelectionKey extends java.nio.channels
.SelectionKey {
// Protected Constructors
     protected AbstractSelectionKey( );  
// Public Methods Overriding SelectionKey
     public final void cancel( );  
     public final boolean isValid( );  
}

Passed To

AbstractSelector.deregister( )

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.