/// <summary>
 /// Initializes a new instance of the <see cref="DefaultWSServerMessageListener" /> class.
 /// </summary>
 /// <param name="logger">The logger.</param>
 /// <param name="wsServiceEntryProvider">The ws service entry provider.</param>
 /// <param name="options">The options.</param>
 public DefaultWSServerMessageListener(ILogger <DefaultWSServerMessageListener> logger,
                                       IWSServiceEntryProvider wsServiceEntryProvider, WebSocketOptions options)
 {
     _logger  = logger;
     _entries = wsServiceEntryProvider.GetEntries().ToList();
     _options = options;
 }
Beispiel #2
0
 public DefaultWSServerMessageListener(ILogger <DefaultWSServerMessageListener> logger, IWSServiceEntryProvider wsServiceEntryProvider)
 {
     _logger  = logger;
     _entries = wsServiceEntryProvider.GetEntries().ToList();
 }
Beispiel #3
0
 public DotNettyWSMessageListener(ILogger <DotNettyWSMessageListener> logger
                                  , IWSServiceEntryProvider wsServiceEntryProvider)
 {
     _logger           = logger;
     _wSServiceEntries = wsServiceEntryProvider.GetEntries().ToList();
 }