long polling netty nio framework java
Posted
by Alfred
on Stack Overflow
See other posts from Stack Overflow
or by Alfred
Published on 2010-02-19T04:11:58Z
Indexed on
2010/06/07
1:32 UTC
Read the original article
Hit count: 423
Hi,
How can I do long-polling using netty framework? Say for example I fetch http://localhost/waitforx
but waitforx
is asynchronous because it has to wait for an event? Say for example it fetches something from a blocking queue(can only fetch when data in queue). When getting item from queue I would like to sent data back to client. Hopefully somebody can give me some tips how to do this.
Many thanks
© Stack Overflow or respective owner