Esempio n. 1
0
 public IoUringConnectionListener(EndPoint endpoint, IoUringOptions options, ILoggerFactory loggerFactory)
 {
     EndPoint       = endpoint;
     _options       = options;
     _loggerFactory = loggerFactory;
 }
Esempio n. 2
0
 public IoUringConnectionListenerFactory(IOptions <IoUringOptions> options, ILoggerFactory loggerFactory)
 {
     _options       = (options ?? throw new ArgumentNullException(nameof(options))).Value;
     _loggerFactory = loggerFactory ?? throw new ArgumentNullException(nameof(loggerFactory));
 }