public abstract class SelectorEventHandler extends Object
Constructor and Description |
---|
SelectorEventHandler() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
canRunAsync() |
abstract SelectionKey |
initialInterestRegistration()
Method must be invoked in selector thread.
|
abstract void |
run(SelectionKey key) |
abstract void |
runAsync(SelectionKey key) |
public abstract SelectionKey initialInterestRegistration() throws ClosedChannelException
ClosedChannelException
public abstract boolean canRunAsync()
public abstract void runAsync(SelectionKey key) throws IOException
IOException
public abstract void run(SelectionKey key) throws IOException
IOException
Copyright © 2018 SPF4J. All rights reserved.