AsynchronousByteCharChannel and Timeouts

cowwoc cowwoc at bbs.darktech.org
Tue Jul 13 06:11:08 PDT 2010


Put it another way: how would you implement an efficient read-with-timeout on
top of the current AsynchronousByteChannel interface? Alternatively, how
would you implement read-with-timeout on top of an OS that only supports
read-forever?

I'm not looking for a full-fledged implementation. Just tell me what you
would do conceptually.

If no one posts any solutions here or on
http://stackoverflow.com/questions/3233880/implementing-timeouts-on-top-of-asynchronousbytechannel
then I argue that we have a design problem.

Thanks,
Gili
-- 
View this message in context: http://nio-discuss.3093094.n2.nabble.com/AsynchronousByteCharChannel-and-Timeouts-tp3363004p5287394.html
Sent from the nio-discuss mailing list archive at Nabble.com.


More information about the nio-discuss mailing list