public interface NIOClientSocketHandler
| Modifier and Type | Method and Description |
|---|---|
boolean |
appendOutgoingData()
Append some outgoing data to the output buffer
|
String |
getId()
Get the unique client identifier
|
ByteBuffer |
getInputBuffer()
Get this client's input buffer
|
ByteBuffer |
getOutputBuffer()
Get this client's output buffer
|
SocketChannel |
getSocketChannel()
Get the associated socket channel
|
boolean |
handleIncomingData()
Process incoming data available in the input buffer
|
boolean |
hasWriteInterest()
Test if this client has things to sends
|
void |
onSocketChannelClosed()
Called if the multiplexer closes the socket channel after a network error
|
String getId()
SocketChannel getSocketChannel()
ByteBuffer getInputBuffer()
ByteBuffer getOutputBuffer()
boolean handleIncomingData()
boolean appendOutgoingData()
boolean hasWriteInterest()
void onSocketChannelClosed()
Copyright © 2021. All rights reserved.