Class OioWorker
java.lang.Object
org.jboss.netty.channel.socket.oio.AbstractOioWorker<OioSocketChannel>
org.jboss.netty.channel.socket.oio.OioWorker
-
Field Summary
FieldsFields inherited from class org.jboss.netty.channel.socket.oio.AbstractOioWorker
channel, thread -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) booleanprocess()Process the incoming messages and also is responsible for callChannels.fireMessageReceived(Channel, Object)once a message was processed without errors.voidrun()(package private) static voidwrite(OioSocketChannel channel, ChannelFuture future, Object message) Methods inherited from class org.jboss.netty.channel.socket.oio.AbstractOioWorker
close, executeInIoThread, isIoThread, setInterestOps
-
Field Details
-
SOCKET_CLOSED_MESSAGE
-
-
Constructor Details
-
OioWorker
OioWorker(OioSocketChannel channel)
-
-
Method Details
-
run
public void run()- Specified by:
runin interfaceRunnable- Overrides:
runin classAbstractOioWorker<OioSocketChannel>
-
process
Description copied from class:AbstractOioWorkerProcess the incoming messages and also is responsible for callChannels.fireMessageReceived(Channel, Object)once a message was processed without errors.- Specified by:
processin classAbstractOioWorker<OioSocketChannel>- Returns:
- continue returns
trueas long as this worker should continue to try processing incoming messages - Throws:
IOException
-
write
-