* @param queue
* @return
*/
protected final NioSessionConfig buildSessionConfig(SelectableChannel sc,
Queue<WriteMessage> queue) {
final NioSessionConfig sessionConfig = new NioSessionConfig(sc,
getHandler(), this.selectorManager, getCodecFactory(),
getStatistics(), queue, this.dispatchMessageDispatcher,
isHandleReadWriteConcurrently(), this.sessionTimeout, this.configuration
.getSessionIdleTimeout());
return sessionConfig;