Class OioDatagramWorker
java.lang.Object
org.jboss.netty.channel.socket.oio.AbstractOioWorker<OioDatagramChannel>
org.jboss.netty.channel.socket.oio.OioDatagramWorker
-
Field Summary
Fields inherited from class org.jboss.netty.channel.socket.oio.AbstractOioWorker
channel, thread
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static void
disconnect
(OioDatagramChannel channel, ChannelFuture future) (package private) boolean
process()
Process the incoming messages and also is responsible for callChannels.fireMessageReceived(Channel, Object)
once a message was processed without errors.(package private) static void
write
(OioDatagramChannel channel, ChannelFuture future, Object message, SocketAddress remoteAddress) Methods inherited from class org.jboss.netty.channel.socket.oio.AbstractOioWorker
close, executeInIoThread, isIoThread, run, setInterestOps
-
Constructor Details
-
OioDatagramWorker
OioDatagramWorker(OioDatagramChannel channel)
-
-
Method Details
-
process
Description copied from class:AbstractOioWorker
Process the incoming messages and also is responsible for callChannels.fireMessageReceived(Channel, Object)
once a message was processed without errors.- Specified by:
process
in classAbstractOioWorker<OioDatagramChannel>
- Returns:
- continue returns
true
as long as this worker should continue to try processing incoming messages - Throws:
IOException
-
write
static void write(OioDatagramChannel channel, ChannelFuture future, Object message, SocketAddress remoteAddress) -
disconnect
-