/** * Read bytes using the read <code>ReadSelector</code> * @return - number of bytes read * @throws java.io.IOException */ protected int doRead() throws IOException{ if ( key == null ) return -1; if (secure){ return doSecureRead(); } else { return doClearRead(); } }
try{ if (secure){ nRead = doSecureRead(); } else { nRead = doClearRead();
try{ if (secure){ nRead = doSecureRead(); } else { nRead = doClearRead();