Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
"I'm not back." - Bill Harding, Twister
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Originally posted by Michael Morris:
I can't seem to get this to compile. What packages, besides the obvious ones do I need to import?
That's because it isn't a valid class. ...
... thereby defeating the entire purpose of nonblocking IO. ...
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
"I'm not back." - Bill Harding, Twister
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
"I'm not back." - Bill Harding, Twister
Author of <a href="http://www.amazon.com/exec/obidos/ASIN/0596002882/ref=jranch-20" target="_blank" rel="nofollow">Java NIO</a> (<a href="http://javanio.info" target="_blank" rel="nofollow">javanio.info</a>)
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
but you must dedicate a thread per stream to make it work properly. This is not a failing of NIO but rather a limitation of streams. You can't multiplex streams, you can only multiplex channels.
Regards,
Pho
"I'm not back." - Bill Harding, Twister
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Author of <a href="http://www.amazon.com/exec/obidos/ASIN/0596002882/ref=jranch-20" target="_blank" rel="nofollow">Java NIO</a> (<a href="http://javanio.info" target="_blank" rel="nofollow">javanio.info</a>)
Marco Tedone<br />SCJP1.4,SCJP5,SCBCD,SCWCD