public interface EventHandler
Modifier and Type | Method and Description |
---|---|
Acceptor |
getAcceptor() |
SelectableChannel |
getChannel() |
Connection |
getConnection() |
int |
getInterestOps() |
SelectionKey |
getSelectionKey() |
Work |
getWork() |
void |
handleEvent() |
void |
setSelectionKey(SelectionKey selectionKey) |
void |
setUseSelectThreadToWait(boolean x) |
void |
setUseWorkerThreadForEvent(boolean x) |
void |
setWork(Work work) |
boolean |
shouldUseSelectThreadToWait() |
boolean |
shouldUseWorkerThreadForEvent() |
void setUseSelectThreadToWait(boolean x)
boolean shouldUseSelectThreadToWait()
SelectableChannel getChannel()
int getInterestOps()
void setSelectionKey(SelectionKey selectionKey)
SelectionKey getSelectionKey()
void handleEvent()
void setUseWorkerThreadForEvent(boolean x)
boolean shouldUseWorkerThreadForEvent()
void setWork(Work work)
Work getWork()
Acceptor getAcceptor()
Connection getConnection()
Copyright © 2021 JBoss by Red Hat. All rights reserved.