The Meta-Environment API

toolbus.communication
Interface IReadMultiplexer

All Known Implementing Classes:
SocketReadMultiplexer, SocketReadWriteMultiplexer

public interface IReadMultiplexer

Implement this interface if you're a multiplexer that is able to select on read events.

Author:
Arnold Lankamp

Method Summary
 void deregisterForRead(java.nio.channels.SelectableChannel channel)
          Deregisters the given channel for reading (if nessecary).
 void registerForRead(java.nio.channels.SelectableChannel channel, SocketIOHandler ioHandler)
          Registers the given channel for reading.
 

Method Detail

registerForRead

void registerForRead(java.nio.channels.SelectableChannel channel,
                     SocketIOHandler ioHandler)
Registers the given channel for reading.

Parameters:
channel - The channel that needs to be registered for reading.
ioHandler - The I/O handler that is associated with the given channel.

deregisterForRead

void deregisterForRead(java.nio.channels.SelectableChannel channel)
Deregisters the given channel for reading (if nessecary).

Parameters:
channel - The channel that needs to be deregistered for reading.

The Meta-Environment API