public ConnectionListener(IServiceProvider serviceProvider, ConnectionListenerOptions connectionListenerOptions)
 {
     this.serviceProvider           = serviceProvider;
     this.connectionListenerOptions = connectionListenerOptions;
     this.messageSerializer         = serviceProvider.GetRequiredService <IMessageSerializer>();
 }
 public ClusterConnectionListener(IServiceProvider serviceProvider, ConnectionListenerOptions connectionListenerOptions)
     : base(serviceProvider, connectionListenerOptions)
 {
     connectionManager = serviceProvider.GetRequiredService <ConnectionManager>();
 }
 public GatewayConnectionListener(IServiceProvider serviceProvider, ConnectionListenerOptions connectionListenerOptions)
     : base(serviceProvider, connectionListenerOptions)
 {
 }