private void execute(final NHttpServerEventHandler serviceHandler) throws IOException {
final IOEventDispatch ioEventDispatch = new DefaultHttpServerIODispatch(serviceHandler, this.connFactory) {
@Override
protected DefaultNHttpServerConnection createConnection(final IOSession session) {
final DefaultNHttpServerConnection conn = super.createConnection(session);
conn.setSocketTimeout(timeout);
return conn;
}
};
this.ioReactor.execute(ioEventDispatch);