private void readFromNet() throws IgniteCheckedException {
  try {
    inNetBuf.clear();
    int read=ch.read(inNetBuf);
    if (read == -1)     throw new IgniteCheckedException("Failed to read remote node response (connection closed).");
  }
 catch (  IOException e) {
    throw new IgniteCheckedException("Failed to write byte to socket.",e);
  }
}

private void readFromNet ( ) throws IgniteCheckedException { try { inNetBuf . clear ( ) ; int read = ch . read ( inNetBuf ) ; if ( read == - 1 ) throw new IgniteCheckedException ( "Failed to read remote node response (connection closed)." ) ; } catch ( IOException e ) { throw new IgniteCheckedException ( "Failed to write byte to socket." , e ) ; } }
read data from net buffer .
