org.jboss.xnio
Interface IoReadHandler<T extends java.nio.channels.Channel>

Type Parameters:
T - the channel type
All Known Subinterfaces:
IoHandler<T>
All Known Implementing Classes:
DelegatingIoHandler

public interface IoReadHandler<T extends java.nio.channels.Channel>

A handler for channel read events.

Since:
1.2

Method Summary
 void handleReadable(T channel)
          Handle channel readability.
 

Method Detail

handleReadable

void handleReadable(T channel)
Handle channel readability. Called when the channel may be read from. Further read notifications from the channel are automatically suspended.

Parameters:
channel - the channel that is readable