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.
----------------------------------------------------------------------------
---------------------------