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
 String getName()
          Get the name of the implementation.
 boolean processSelectionKey(SelectionKey key)
          Process a selection key.
 

Method Detail

processSelectionKey

boolean processSelectionKey(SelectionKey key)
Process a selection key.

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

getName

String getName()
Get the name of the implementation.

Returns:
String


Copyright © 2012. All Rights Reserved.