code: public void join(SelectableChannel ch1, SelectableChannel ch2) throws IOException
      {
          join(ch1, ch2, (ByteChannel)ch1, (ByteChannel)ch2);
      }
docs: Join channel pair to this virtual circuit.
  <p>Note! Channels have to implement ByteChannel interface.
  @param ch1
  @param ch2
  @throws IOException