mirror of
https://gitee.com/dromara/hutool.git
synced 2025-12-04 19:08:04 +08:00
@@ -45,6 +45,8 @@ public class AioSession implements Closeable{
|
|||||||
this.channel = channel;
|
this.channel = channel;
|
||||||
this.readBuffer = ByteBuffer.allocate(config.getReadBufferSize());
|
this.readBuffer = ByteBuffer.allocate(config.getReadBufferSize());
|
||||||
this.writeBuffer = ByteBuffer.allocate(config.getWriteBufferSize());
|
this.writeBuffer = ByteBuffer.allocate(config.getWriteBufferSize());
|
||||||
|
this.readTimeout = config.getReadTimeout();
|
||||||
|
this.writeTimeout = config.getWriteTimeout();
|
||||||
this.ioAction = ioAction;
|
this.ioAction = ioAction;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user