de.netseeker.ejoe
Interface ChannelRegistrar

All Known Implementing Classes:
ConnectionProcessorManager

public interface ChannelRegistrar

Author:
netseeker

Method Summary
 boolean isValid()
          Tells whether this ChannelRegistrar is running and accepting channels for further processing
 void register(ConnectionHeader receiverInfo, int interest)
          (Re-)Adds a incomplete read channel to the list of channels processed by the Selector of this ChannelRegistrar
 

Method Detail

register

public void register(ConnectionHeader receiverInfo,
                     int interest)
(Re-)Adds a incomplete read channel to the list of channels processed by the Selector of this ChannelRegistrar

Parameters:
receiverInfo - the ConnectionHeader initially sent by the receiver
interest - OP_WRITE or OP_READ interest

isValid

public boolean isValid()
Tells whether this ChannelRegistrar is running and accepting channels for further processing

Returns:
true if this ChannelRegistrar is running and accepting channels for further processing otherwise false


Copyright © 2005-2006 netseeker. All Rights Reserved.