public GridNioServer<T> build() throws IgniteCheckedException {
  GridNioServer<T> ret=new GridNioServer<>(addr,port,log,selectorCnt,gridName,tcpNoDelay,directBuf,byteOrder,lsnr,sockSndBufSize,sockRcvBufSize,sndQueueLimit,directMode,daemon,metricsLsnr,writerFactory,skipRecoveryPred,msgQueueLsnr,filters != null ? Arrays.copyOf(filters,filters.length) : EMPTY_FILTERS);
  if (idleTimeout >= 0)   ret.idleTimeout(idleTimeout);
  if (writeTimeout >= 0)   ret.writeTimeout(writeTimeout);
  return ret;
}

public GridNioServer < T > build ( ) throws IgniteCheckedException { GridNioServer < T > ret = new GridNioServer < > ( addr , port , log , selectorCnt , gridName , tcpNoDelay , directBuf , byteOrder , lsnr , sockSndBufSize , sockRcvBufSize , sndQueueLimit , directMode , daemon , metricsLsnr , writerFactory , skipRecoveryPred , msgQueueLsnr , filters != null ? Arrays . copyOf ( filters , filters . length ) : EMPTY_FILTERS ) ; if ( idleTimeout >= 0 ) ret . idleTimeout ( idleTimeout ) ; if ( writeTimeout >= 0 ) ret . writeTimeout ( writeTimeout ) ; return ret ; }
finishes building the instance .
