com.maverick.nio
Interface SelectorThreadImpl


public interface SelectorThreadImpl

Each SelectorThread requires an implementation of this interface to pass selection events.

Author:
Lee David Painter

Method Summary
 java.lang.String getName()
          Get the name of the implementation.
 boolean processSelectionKey(java.nio.channels.SelectionKey key)
          Process a selection key.
 

Method Detail

processSelectionKey

boolean processSelectionKey(java.nio.channels.SelectionKey key)
Process a selection key.

Parameters:
key - SelectionKey
Returns:
boolean indicating if the selection key is being cancelled

getName

java.lang.String getName()
Get the name of the implementation.

Returns:
String


Copyright © 2003-2008 SSHTools LTD. All Rights Reserved.