Name

AbstractInterruptibleChannel

Synopsis

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

java.nio.channels.spi.AbstractInterruptibleChannel

Figure 13-43. java.nio.channels.spi.AbstractInterruptibleChannel

public abstract class AbstractInterruptibleChannel 
implements java.nio.channels.Channel, java.nio.channels.InterruptibleChannel {
// Protected Constructors
     protected AbstractInterruptibleChannel( );  
// Methods Implementing Channel
     public final void close( ) throws java.io.IOException;  
     public final boolean isOpen( );  
// Protected Instance Methods
     protected final void begin( );  
     protected final void end(boolean completed) 
         throws java.nio.channels.AsynchronousCloseException;  
     protected abstract void implCloseChannel( ) throws java.io.IOException;  
}

Subclasses

java.nio.channels.FileChannel, java.nio.channels.SelectableChannel

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.