connections waiting on condition before sending the response
Benoit Perroud
benoit at noisette.ch
Sat Jan 15 12:36:45 EST 2011
Hi all,
I'm really new in Netty, and I don't know where to begin to achieve the
following behavior :
I have connections that should wait on a condition before sending the
response. For example "Hang all the client till a particular request is
done".
I tried to put the Channel in a ChannelGroup in messageReceived, and
then to have a Runnable waiting on the condition and iterating on the
ChannelGroup when the condition is met.
I also try to add a threadPool in the pipeline before my handler, but my
tires do not accept more than 2 connections, the other hang on.
Thanks in advance,
Kind regards,
Benoit.
More information about the netty-users
mailing list