The Meta-Environment API

toolbus.communication
Interface IWriteMultiplexer

All Known Implementing Classes:
SocketReadWriteMultiplexer, SocketWriteMultiplexer

public interface IWriteMultiplexer

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

Author:
Arnold Lankamp

Method Summary
 void deregisterForWrite(java.nio.channels.SelectableChannel channel)
          Deregisters the given channel for writing (if nessecary).
 void registerForWrite(java.nio.channels.SelectableChannel channel, SocketIOHandler ioHandler)
          Registers the given channel for writing.
 

Method Detail

registerForWrite

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

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

deregisterForWrite

void deregisterForWrite(java.nio.channels.SelectableChannel channel)
Deregisters the given channel for writing (if nessecary).

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

The Meta-Environment API