SelectableChannel

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Michael

    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
    bufferinputstre am 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(Sele ctableChannel 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.
    ----------------------------------------------------------------------------
    ---------------------------




Working...