* @throws IOException
*/
protected AsynchChannel createAsynchChannel(SocketChannel socketChannel) throws IOException {
AsynchChannel channel = new NIOAsynchChannel(socketChannel, useDirectBuffers);
if( createWriteBufferedChannels ) {
channel = new WriteBufferedAsynchChannel(channel, ByteBufferPacket.createDefaultBuffer(useDirectBuffers), false);
}
return channel;
}