public interface Context extends IWriteInterestManager
Modifier and Type | Method and Description |
---|---|
void |
close()
Called by the Selector on unregister.
|
void |
close(Throwable exception) |
void |
closeAndDisconnect() |
SelectionKey |
getSelectionKey() |
void |
handleRead() |
void |
handleSetReadInterest() |
void |
handleWrite() |
void |
setSelectionKey(SelectionKey key) |
removeWriteInterest, setWriteInterest
void setSelectionKey(SelectionKey key)
SelectionKey getSelectionKey()
void handleSetReadInterest()
void handleRead() throws IOException
IOException
void handleWrite() throws IOException
IOException
void close()
void close(Throwable exception)
void closeAndDisconnect()
Copyright © GigaSpaces.