public interface DataReceiver
Modifier and Type | Method and Description |
---|---|
void |
activateChannel(SelectableChannel channel)
Activate selection for the provided channel.
|
void |
deactivateChannel(SelectableChannel channel)
De-activate selection for the provided channel.
|
void |
registerChannel(SelectableChannel channel,
ChannelHandlerContext context)
Register a channel.
|
void |
unregisterChannel(SelectableChannel channel) |
void registerChannel(SelectableChannel channel, ChannelHandlerContext context)
channel
- Channel to be registeredcontext
- Context with callbacks for registration/selection/interest change events.void unregisterChannel(SelectableChannel channel)
void activateChannel(SelectableChannel channel)
void deactivateChannel(SelectableChannel channel)
Copyright © 2016–2021. All rights reserved.