java.nio.channels.SocketChannel用于定期写入和立即读取 [英]java.nio.channels.SocketChannel for both periodic write and immediate read