java.nio.channels.spi
Class AbstractInterruptibleChannel.FooChannel

java.lang.Object
  extended byjava.nio.channels.spi.AbstractInterruptibleChannel
      extended byjava.nio.channels.spi.AbstractInterruptibleChannel.FooChannel
All Implemented Interfaces:
Channel, InterruptibleChannel
Enclosing class:
AbstractInterruptibleChannel

private static class AbstractInterruptibleChannel.FooChannel
extends AbstractInterruptibleChannel


Nested Class Summary
 
Nested classes inherited from class java.nio.channels.spi.AbstractInterruptibleChannel
 
Field Summary
 
Fields inherited from class java.nio.channels.spi.AbstractInterruptibleChannel
 
Constructor Summary
private AbstractInterruptibleChannel.FooChannel()
           
 
Method Summary
protected  void implCloseChannel()
          Closes this channel.
 
Methods inherited from class java.nio.channels.spi.AbstractInterruptibleChannel
begin, blockedOn, close, end, isOpen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractInterruptibleChannel.FooChannel

private AbstractInterruptibleChannel.FooChannel()
Method Detail

implCloseChannel

protected void implCloseChannel()
Description copied from class: AbstractInterruptibleChannel
Closes this channel.

This method is invoked by the close method in order to perform the actual work of closing the channel. This method is only invoked if the channel has not yet been closed, and it is never invoked more than once.

An implementation of this method must arrange for any other thread that is blocked in an I/O operation upon this channel to return immediately, either by throwing an exception or by returning normally.

Specified by:
implCloseChannel in class AbstractInterruptibleChannel