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