473,320 Members | 2,146 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

SelectableChannel

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
0 1242

This thread has been closed and replies have been disabled. Please start a new discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.