implementation of blocking input
Norman Maurer
norman.maurer at googlemail.com
Tue Oct 18 13:52:46 EDT 2011
Hi there,
I may be wrong but I think this should be what you are looking for:
https://issues.jboss.org/browse/NETTY-307
Its not yet included in netty. Maybe in 3.2.6...
We will see.
Bye,
Norman
2011/10/18 Bill Burke <bburke at redhat.com>:
> 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
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>
More information about the netty-users
mailing list