org.restlet.engine.io
Interface BlockableChannel

All Superinterfaces:
Channel, Closeable
All Known Subinterfaces:
ReadableSelectionChannel, SelectionChannel, WritableSelectionChannel
All Known Implementing Classes:
BufferedSelectionChannel, InputStreamChannel, ReadableBufferedChannel, ReadableChunkedChannel, ReadableSizedSelectionChannel, ReadableSocketChannel, ReadableTraceChannel, TraceChannel, WrapperSelectionChannel, WrapperSocketChannel, WritableBufferedChannel, WritableSocketChannel, WritableTraceChannel

public interface BlockableChannel
extends Channel

NIO channel that can indicate if it is blocking or non blocking.

Author:
Jerome Louvel

Method Summary
 boolean isBlocking()
          Indicates if the channel is likely to block upon IO operations.
 
Methods inherited from interface java.nio.channels.Channel
close, isOpen
 

Method Detail

isBlocking

boolean isBlocking()
Indicates if the channel is likely to block upon IO operations.

Returns:
True if the channel is likely to block upon IO operations.


Copyright © 2005-2013 Restlet.