public interface ChannelHandler
Modifier and Type | Method and Description |
---|---|
void |
activate() |
void |
close()
Request to close.
|
void |
deactivate() |
void |
flush()
Request to write pending outgoing data to the underlying channel.
|
boolean |
isClosed() |
boolean |
read()
Request to read incoming data from the underlying channel.
|
Message |
receive() |
void |
register() |
void |
send(Message message) |
void |
unregister() |
void send(Message message)
Message receive()
boolean read() throws IOException
IOException
void register()
void unregister()
void activate()
void deactivate()
void flush()
void close()
boolean isClosed()
Copyright © 2016–2021. All rights reserved.