By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,470 Members | 1,907 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,470 IT Pros & Developers. It's quick & easy.

SelectableChannel

P: n/a
Hi,

For an assignment ive been given a selectable channel and ive been asked to
start a input reading process from a stream, ive tried using the
bufferinputstream class and others but i cant get anything to work, and the
internet hasnt proved that helpful either!

Can anyone help??

Thanks Michael

The method is:
----------------------------------------------------------------------------
-------------------------
public void addChannel(SelectableChannel in, int start, int length);
----------------------------------------------------------------------------
---------------------------
where
----------------------------------------------------------------------------
---------------------------
a.. o.addChannel(in,start,len) starts off a non-blocking read of len bytes
from the input stream in storing it in the message beginning at byte start.
----------------------------------------------------------------------------
---------------------------


Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.