implementation of blocking input

Bill Burke bburke at redhat.com
Tue Oct 18 10:17:39 EDT 2011


Because I want to write a blocking java.io.InputStream around the 
channel instead of buffering the entire message body in memory.

On 10/18/11 3:41 AM, Norman Maurer wrote:
> Why not use Channel.setReadable() for this purpose ?
>
> Bye,
> Norman
>
>
> 2011/10/18 Bill Burke<bburke at redhat.com>:
>> I'd like to extend Netty to support blocking input.  COuld I not get the
>> selector of the current channel, perform a selector.select(), check for
>> read op, do a read, block again until I've eaten what I need to eat.  I
>> would be doing this inside of a read request.
>>
>> Thanks,
>>
>> Bill
>>
>> --
>> Bill Burke
>> JBoss, a division of Red Hat
>> http://bill.burkecentral.com
>> _______________________________________________
>> netty-users mailing list
>> netty-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/netty-users
>>
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com


More information about the netty-users mailing list