class OioDatagramWorker extends AbstractOioWorker<OioDatagramChannel>
channel, thread| Constructor and Description |
|---|
OioDatagramWorker(OioDatagramChannel channel) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
disconnect(OioDatagramChannel channel,
ChannelFuture future) |
(package private) boolean |
process()
Process the incoming messages and also is responsible for call
Channels.fireMessageReceived(Channel, Object) once a message was processed without
errors. |
(package private) static void |
write(OioDatagramChannel channel,
ChannelFuture future,
java.lang.Object message,
java.net.SocketAddress remoteAddress) |
close, executeInIoThread, isIoThread, run, setInterestOpsOioDatagramWorker(OioDatagramChannel channel)
boolean process()
throws java.io.IOException
AbstractOioWorkerChannels.fireMessageReceived(Channel, Object) once a message was processed without
errors.process in class AbstractOioWorker<OioDatagramChannel>true as long as this worker should continue to try
processing incoming messagesjava.io.IOExceptionstatic void write(OioDatagramChannel channel, ChannelFuture future, java.lang.Object message, java.net.SocketAddress remoteAddress)
static void disconnect(OioDatagramChannel channel, ChannelFuture future)